I am trying to use Jersey through OSGi (Karaf, specifically). To do this, I downloaded this bundle jar from Maven and put it into my Karaf deploy directory. However, when I tried to start the bundle, it was unable to resolve any of it’s dependancies. It also seemed to be looking for version 0.0.0 of each dependancy, which seems wrong.
What’s the best way to get this bundle into my project? Do you I have to manually download all the dependancies, or can I use some existing OBR that has this bundle? Where would I find this?
I used Jersey with Karaf without problem using this dependencies instead of jersey-bundle:
I’ve tested now on the last Karaf Apache console and this worked for me: