You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Paul Fraser <pa...@qnenet.com> on 2021/01/10 05:48:45 UTC
Karsf 4.3 and Vaadin Flow V19
Hi,
Karaf 4.3 and Vaadin Flow V19.
I am attempting to create a demo of the new Vaadin 19 https://github.com/vaadin/base-starter-flow-osgi
I have built and run it successfully as per the repo where it uses a bnd approach.
My karaf attempt, https://github.com/QNENet/vaadindemo, fails with the error below.
If I comment out "<bundle>mvn:com.vaadin/flow-osgi/6.0-SNAPSHOT</bundle>" entry in the demofeatures
module the system builds but will not run, of course.
It seems that the Karaf feature I add to demofeatures, pax-http-whiteboard does not provide the
necessary "org.osgi.service.http.context"
V19 of Vaadin now gives us the opportunity to have a first class GUI in Karaf so any help to get
this going will be of value to the Karaf infrastructure.
Paul Fraser
----------------------------------------------------------------------------------------------------------------------------------
Error executing command:
Unable to resolve root:
missing requirement [root]
osgi.identity;
osgi.identity=demo;
type=karaf.feature;
version="[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]";
filter:="(&(osgi.identity=demo)(type=karaf.feature)(version>=1.0.0.SNAPSHOT)(version<=1.0.0.SNAPSHOT))"
[caused by: Unable to resolve demo/1.0.0.SNAPSHOT: missing requirement [demo/1.0.0.SNAPSHOT]
osgi.identity;
osgi.identity=com.vaadin.flow.osgi;
type=osgi.bundle;
version="[6.0.0.202101100021,6.0.0.202101100021]";
resolution:=mandatory
[caused by: Unable to resolve com.vaadin.flow.osgi/6.0.0.202101100021: missing requirement
[com.vaadin.flow.osgi/6.0.0.202101100021]
osgi.wiring.package;
filter:="(&(osgi.wiring.package=org.osgi.service.http.context)(version>=1.1.0)(!(version>=2.0.0)))"]]
-----------------------------------------------------------------------------------------------------------------------------------------------------