Hi,

Are you sure about the version ?

It seems that your bundle has an import with [2,3) and maybe you are
running in Karaf 4 ?

Regards
JB

On 02/04/2019 08:44, Saravana Prasad wrote:
> 
> 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
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to