cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johann Vanackere (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CXF-4945) NoClassDefFoundError error when using ClientProxyImpl
Date Thu, 04 Apr 2013 13:51:17 GMT

     [ https://issues.apache.org/jira/browse/CXF-4945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Johann Vanackere closed CXF-4945.
---------------------------------

    Resolution: Invalid
    
> NoClassDefFoundError error when using ClientProxyImpl 
> ------------------------------------------------------
>
>                 Key: CXF-4945
>                 URL: https://issues.apache.org/jira/browse/CXF-4945
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.7.4
>            Reporter: Johann Vanackere
>            Priority: Blocker
>
> The ClientProxyImpl class in JAXRS frontend still uses javax.ws.rs.client.ClientException.
But it seems that ClientException has been removed from javax.ws.rs-api 2.0-rc2. So when I
run my JAXRS client I get the following stack :
> {noformat}
> Caused by: java.lang.NoClassDefFoundError: javax/ws/rs/client/ClientException
> 	at org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean.createWithValues(JAXRSClientFactoryBean.java:288)
~[cxf-rt-frontend-jaxrs-2.7.4.jar:2.7.4]
> 	at org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean.create(JAXRSClientFactoryBean.java:251)
~[cxf-rt-frontend-jaxrs-2.7.4.jar:2.7.4]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_41]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_41]
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
~[na:1.6.0_41]
> 	at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_41]
> 	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:160)
~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
> 	... 41 common frames omitted
> Caused by: java.lang.ClassNotFoundException: javax.ws.rs.client.ClientException
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:202) ~[na:1.6.0_41]
> 	at java.security.AccessController.doPrivileged(Native Method) ~[na:1.6.0_41]
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190) ~[na:1.6.0_41]
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306) ~[na:1.6.0_41]
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) ~[na:1.6.0_41]
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ~[na:1.6.0_41]
> 	... 48 common frames omitted
> {noformat}
> Did I miss something ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message