Hi,

I still think you get the furthest by starting with taking any of the Pax
Web Integration tests as foundation for your scenario and just exchange it
with Knopflerfish as underlying OSGi framework.

Another way would be to start of with eclipse and bnd-tools, maybe that
tooling will help you to get further with the dependency chain.
Though Pax-Web standalone with Jetty bundled and all it's dependencies is
listed in the Integration test I gave you the first time you asked.

regards, Achim


2017-03-30 22:22 GMT+02:00 Trace Windham <[email protected]>:

> 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.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

-- 
-- 
------------------
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