I'm running junit test for REST API in web-pax, heret I'm facing very
strange behaviour I don't know why this dependency not getting resolved.
Please have a look in exception:
rg.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher]
: Scanning bundle [javax.validation.api]
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher]
: Scanning bundle [javax.annotation-api]
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher]
: Scanning bundle [javax.json-api]
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher]
: Scanning bundle [javax.ws.rs.jsr311-api]
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher]
: Scanning bundle [org.apache.servicemix.bundles.javax-inject]
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher]
: Scanning bundle [org.objectweb.asm.all.debug]
ERROR: Bundle org.glassfish.jersey.core.jersey-common [83] Error starting
mvn:org.glassfish.jersey.core/jersey-common/2.25
(org.osgi.framework.BundleException: Unable to resolve
org.glassfish.jersey.core.jersey-common [83](R 83.0): missing requirement
[org.glassfish.jersey.core.jersey-common [83](R 83.0)] osgi.wiring.package;
(&(osgi.wiring.package=javax.annotation)(version>=1.2.0)(!(version>=2.0.0)))
Unresolved requirements: [[org.glassfish.jersey.core.jersey-common [83](R
83.0)] osgi.wiring.package;
(&(osgi.wiring.package=javax.annotation)(version>=1.2.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve
org.glassfish.jersey.core.jersey-common [83](R 83.0): missing requirement
[org.glassfish.jersey.core.jersey-common [83](R 83.0)] osgi.wiring.package;
(&(osgi.wiring.package=javax.annotation)(version>=1.2.0)(!(version>=2.0.0)))
Unresolved requirements: [[org.glassfish.jersey.core.jersey-common [83](R
83.0)] osgi.wiring.package;
(&(osgi.wiring.package=javax.annotation)(version>=1.2.0)(!(version>=2.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:745)
Here we can see javax.annotation-api bundle successfully scanned and
running in pax-exam contained even though jersey-common is not getting
resolved it says javax.annotation not found.
Does anybody faced this, then please suggest me.
Thanks you,
Umesh
--
--
------------------
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.