I'm trying to manually load bundles one at a time into an instance of 
Knopflerfish 6.1.0 running on my Windows 7 desktop.

I'm using the bundles found at Maven Central, because Maven Central 
provides me with a list of bundles that each bundle depends on in the 
"Provided Dependencies" section of each bundles web page on Maven Central.

When I try to install the bundle pax-web-api found 
here... https://mvnrepository.com/artifact/org.ops4j.pax.web/pax-web-api/6.0.3

I get this error...  

[stderr] ## DEBUG: errors - FrameworkErrorEvent throwable:
[stderr] org.osgi.framework.BundleException: Bundle#36, unable to resolve: 
Missing package(s) or can not resolve all of the them:
javax.servlet.annotation;version=[2.3.0,4.0.0) -- Provider rejected because 
of uses directive  - javax.servlet.annotation;version=3.1.0 Bundle[id=37,gen
=0].
[stderr]        at org.knopflerfish.framework.BundleImpl.getUpdatedState(
BundleImpl.java:1278)
[stderr]        at org.knopflerfish.framework.BundleImpl.finalizeActivation(
BundleImpl.java:311)
[stderr]        at org.knopflerfish.framework.PermissionOps.
callFinalizeActivation(PermissionOps.java:269)
[stderr]        at org.knopflerfish.framework.BundleImpl.start(BundleImpl.
java:294)
[stderr]        at org.knopflerfish.bundle.desktop.swing.Desktop$36.run(
Desktop.java:2666)

The bundle being used that exports the javax.servlet.annotation package is 
the one I found on that same Maven Central page I linked to earlier in the 
Provided Dependencies section called, javax.servlet-api.  I'm using version 
3.1.0 that I found 
here... https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api/3.1.0

Is there another bundle that exports the javax.servlet.annotation package 
that will satisfy the needs of the pax-web-api bundle?

Thanks,
Trace Windham


-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to