karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saravana Prasad <rspras...@hotmail.com>
Subject Resolving org.apache.karaf.features.management
Date Tue, 02 Apr 2019 06:44:06 GMT

With following Import-Package options for FeaturesServiceMBean: 		              	

org.apache.karaf.features,
org.apache.karaf.features.management

or only

org.apache.karaf.features.management

What could be the resolution for the error:

org.osgi.framework.BundleException: Unable to resolve AppKarafFeatures
[165](R 165.0): missing requirement [AppKarafFeatures [165](R 165.0)]
osgi.wiring.package;
(&(osgi.wiring.package=org.apache.karaf.features.management)(version>=2.2.0)(!(version>=3.0.0)))
[caused by: Unable to resolve org.apache.karaf.features.management [156](R
156.0): missing requirement [org.apache.karaf.features.management [156](R
156.0)] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.karaf.features)(version>=2.2.0)(!(version>=3.0.0)))]
Unresolved requirements: [[AppKarafFeatures [165](R 165.0)]
osgi.wiring.package;
(&(osgi.wiring.package=org.apache.karaf.features.management)(version>=2.2.0)(!(version>=3.0.0)))]
	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4149)
~[?:?]
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2119) ~[?:?]
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) ~[?:?]
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) ~[?:?]
	at
org.apache.felix.webconsole.internal.core.InstallHelper.doRun(InstallHelper.java:67)
~[59:org.apache.karaf.webconsole.console:4.2.3]
	at
org.apache.felix.webconsole.internal.core.BaseUpdateInstallHelper.doRun(BaseUpdateInstallHelper.java:99)
~[59:org.apache.karaf.webconsole.console:4.2.3]
	at
org.apache.felix.webconsole.internal.core.BaseUpdateInstallHelper.run(BaseUpdateInstallHelper.java:171)
[59:org.apache.karaf.webconsole.console:4.2.3]
	at java.lang.Thread.run(Thread.java:834) [?:?]


Thanks

Saravana Prasad



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html

Mime
View raw message