CXF 3.8 throwing java.lang.NoClassDefFoundError: javax/ws/rs/client/ClientException

2017-08-10 Thread sbalustar
I am migrating my cxf version from 2.7.7 tp 3.1.8. Earlier i used javax rs ws 2.0-m10 version , but with cxf that version is not working and uodated to 2.0.1 . Later on i am facing this issue. Caused by java.lang.ClassNotFoundException: javax.ws.rs.client.ClientException at org.apache.cat

BingPreview: No message body writer has been found

2017-08-10 Thread Vassilis Virvilis
Hi everybody, I am using cxf-3.1.7 with jax-rs and JacksonJsonProvider My application works normally but when BingPreview tries to crawl my page I get ERROR 2017-08-10 12:32:51,561 ajp-nio-8009-exec-4: org.apache.cxf.jaxrs.utils.JAXRSUtils.logMessageHandlerProblem(JAXRSUtils.java:1811): No me

Re: BingPreview: No message body writer has been found

2017-08-10 Thread Sergey Beryozkin
Hi as far as I recall, Jackson provider checks in its isReadable if MediaType is application/json. Have a Pre-Match container request filter which changes content type to application/json if it is a wildcard. Cheers, Sergey On 10/08/17 15:42, Vassilis Virvilis wrote: Hi everybody, I am us

Re: CXF 3.8 throwing java.lang.NoClassDefFoundError: javax/ws/rs/client/ClientException

2017-08-10 Thread sbalustar
We are also using some other jar , which is using javax.rs.ws 2.0-m10 . But cxf 3.1.8 is not compatible with javax.rs.ws 2.0-m10. what could be the solution? -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-3-8-throwing-java-lang-NoClassDefFoundError-javax-ws-rs-client-Clie

Re: CXF 3.8 throwing java.lang.NoClassDefFoundError: javax/ws/rs/client/ClientException

2017-08-10 Thread Sergey Beryozkin
I can't think of anything but making sure both jars use the same version Sergey On 10/08/17 21:39, sbalustar wrote: We are also using some other jar , which is using javax.rs.ws 2.0-m10 . But cxf 3.1.8 is not compatible with javax.rs.ws 2.0-m10. what could be the solution? -- View this mess