karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SapnaB <sapnabhargava...@gmail.com>
Subject Re: Karaf blueprint "Failure" while extending console
Date Mon, 02 Jun 2014 06:01:36 GMT
Hi,

I did use the maven-bundle-plugin to bundle the plugin and have the relevant
manifest now.
The build is successful, but when I try and start the bundle in karaf, I get
the following exception:

ERROR: Bundle org.apache.karaf.shell.samples.shell-sample-commands [98]
Error starting
mvn:org.apache.karaf.shell.samples/shell-sample-commands/1.0-SNAPSHOT
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.karaf.shell.samples.shell-sample-commands [98]: Unable to resolve
98.0: missing requirement [98.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.felix.karaf.shell.console)(version>=1.4.0)(!(version>=2.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.karaf.shell.samples.shell-sample-commands [98]: Unable to resolve
98.0: missing requirement [98.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.felix.karaf.shell.console)(version>=1.4.0)(!(version>=2.0.0)))
        at
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
        at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
        at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
        at java.lang.Thread.run(Thread.java:722)

Any pointers on how I can get rid of this exception and run the bundle
successfully?

Thanks in advance,
Sapna




--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-blueprint-Failure-while-extending-console-tp4029372p4033375.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Mime
View raw message