This comes from an incompatibility between server cxf libraries and your app when TomEE provides you the @Context injections, you can solve it requesting tomee to use container libraries:
openejb.classloader.forced-skip = org.apache.cxf. Alternative is to override in your jsonprovider the method com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider#_locateMapperViaProvider to return a constant mapper. Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2017-04-06 10:55 GMT+02:00 syadav <[email protected]>: > unable to post this query > > > > -- > View this message in context: http://tomee-openejb.979440. > n4.nabble.com/Camel-CXF-in-tomee-tp4681184p4681491.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
