L.S.,
FWIW, you probably also want to remove slf4j from the embedded dependencies - usually, it's better to import those packages instead, so the logging ends up being handled by Pax Logging. Could you post the output of osgi:headers of that bundle of yours again? Also, try doing a "packages:exports | grep javax.ws.rs" in the console to make sure that the JAX-RS packages are actually available in the container. Regards, Gert Vanthienen On Mon, Feb 24, 2014 at 11:52 AM, gsharma84 <[email protected]> wrote: > Hi, I removed the embedded jar and installed the dependency through > osgi:instal -s > mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jsr339-api-m10/2.2.0 > > but still I get error. > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/Service-Mix-not-resolving-embedded-jar-dependencies-in-an-OSGI-bundle-tp5719265p5719279.html > Sent from the ServiceMix - User mailing list archive at Nabble.com.
