You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by sbalustar <bs...@gmail.com> on 2017/08/10 08:52:05 UTC

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

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.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)
	at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)



--
View this message in context: http://cxf.547215.n5.nabble.com/CXF-3-8-throwing-java-lang-NoClassDefFoundError-javax-ws-rs-client-ClientException-tp5782566.html
Sent from the cxf-user mailing list archive at Nabble.com.

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

Posted by Sergey Beryozkin <sb...@gmail.com>.
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 message in context: http://cxf.547215.n5.nabble.com/CXF-3-8-throwing-java-lang-NoClassDefFoundError-javax-ws-rs-client-ClientException-tp5782566p5782594.html
> Sent from the cxf-user mailing list archive at Nabble.com.
> 


-- 
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

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

Posted by sbalustar <bs...@gmail.com>.
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-ClientException-tp5782566p5782594.html
Sent from the cxf-user mailing list archive at Nabble.com.