I built the .kar file and added to Karaf deploy directory.
C:\home\software\apache-karaf-3.0.3\deploy
karaf@root(log)> feature:install quickstart-karaf-camelwiki
Error executing command: Can't install feature quickstart-karaf-camelwiki/0.0.0:
Could not start bundle mvn:org.apache.camel/camel-catalog/2.15.0 in feature(s) camel-core-2.15.0: Unresolved constraint in bundle org.apache
.camel.camel-catalog [359]: Unable to resolve 359.0: missing requirement [359.0] osgi.wiring.package; (osgi.wiring.package=org.apache.camel.
catalog.archetypes)
karaf@root(log)>
Why is that? How can I fix?
karaf@root()> feature:install quickstart-karaf-camelwiki
Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=quickstart-karaf-camelwiki; type=ka
raf.feature; version="[2.2.0.SNAPSHOT,2.2.0.SNAPSHOT]"; filter:="(&(osgi.identity=quickstart-karaf-camelwiki)(type=karaf.feature)(version>=2
.2.0.SNAPSHOT)(version<=2.2.0.SNAPSHOT))" [caused by: Unable to resolve quickstart-karaf-camelwiki/2.2.0.SNAPSHOT: missing requirement [quic
kstart-karaf-camelwiki/2.2.0.SNAPSHOT] osgi.identity; osgi.identity=camel-blueprint; type=karaf.feature; version="[2.15.0,2.15.0]" [caused b
y: Unable to resolve camel-blueprint/2.15.0: missing requirement [camel-blueprint/2.15.0] osgi.identity; osgi.identity=org.apache.camel.came
l-blueprint; type=osgi.bundle; version="[2.15.0,2.15.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.camel-bluepri
nt/2.15.0: missing requirement [org.apache.camel.camel-blueprint/2.15.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.cam
el)(version>=2.15.0)(!(version>=2.15.1)))" [caused by: Unable to resolve org.apache.camel.camel-core/2.15.0: missing requirement [org.apache
.camel.camel-core/2.15.0] osgi.identity; osgi.identity="root#camel-core-2.15.0"; type=karaf.subsystem; version="[0,0.0.0]"; resolution:=mand
atory [caused by: Unable to resolve root#camel-core-2.15.0: missing requirement [root#camel-core-2.15.0] osgi.identity; osgi.identity=camel-
core; type=karaf.feature; version="[2.15.0,2.15.0]" [caused by: Unable to resolve camel-core/2.15.0: missing requirement [camel-core/2.15.0]
osgi.identity; osgi.identity=org.apache.camel.camel-catalog; type=osgi.bundle; version="[2.15.0,2.15.0]"; resolution:=mandatory [caused by:
Unable to resolve org.apache.camel.camel-catalog/2.15.0: missing requirement [org.apache.camel.camel-catalog/2.15.0] osgi.wiring.package; f
ilter:="(osgi.wiring.package=org.apache.camel.catalog.archetypes)"]]]]]]]
karaf@root()>
In Felix if I want to run the jar file.
g! install file:quickstart-karaf-camelwiki.jar
Bundle ID: 15
g! start 15
org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.jube.images.fabric8.quickstart-karaf-camelwiki [15]: Unable t
o resolve 15.0: missing requirement [15.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.blueprint)(version>=1.0.0)(!(version
>=2.0.0)))
g!
Ok so maybe I can try quickstart-karaf-camellog in Felix.
g! install file:quickstart-karaf-camellog.jar
Bundle ID: 16
g! start 16
org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.jube.images.fabric8.quickstart-karaf-camellog [16]: Unable to
resolve 16.0: missing requirement [16.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.blueprint)(version>=1.0.0)(!(version>
=2.0.0)))
g!