I figured out the issue. In my pom there was a missing import of the package
and jackson-jaxrs-json-provider version 2.2.0 was not importing in it's
MANIFEST.MF com.fasterxml.jackson.jaxrs.base package because the class
com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider extends abstract class
com.fasterxml.jackson.jaxrs.base.ProviderBase. Upgrading 
jackson-jaxrs-json-provider version resolves the issue.

Now I have other questions.
 1. I am using Eclipse Indigo to build my bundle. Is there any recommended
OSGI plugin for eclipse?
 2. The dependencies jar, for instance "jackson-jaxrs-json-provider ", I am
manually copying to deploy dir of servicemix. Is there a way to
automatically copy the jars to this dir? Is it recommended to copy any
dependency jar which are not OSGI bundle in deploy dir? Or should I convert
them to OSGI bundle first?

Appreciate your inputs.

Thanks in advance. 



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Unsatisfied-error-when-deploying-tp5719012p5719761.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to