Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
Hi,
I have set in the past the dependency on jsr311 version 1.0 but running jetty server I get a class not found exception due to
java.lang.ClassNotFoundException: javax.ws.rs.InternalServerErrorException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:421)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383)
at org.apache.cxf.jaxrs.utils.ResourceUtils.createApplication(ResourceUtils.java:730)
at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createServerFromApplication(CXFNonSpringJaxrsServlet.java:435)
at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.init(CXFNonSpringJaxrsServlet.java:93)
The issue is in a CXF class and according to the spec
https://jax-rs-spec.java.net/nonav/2.0-SNAPSHOT/apidocs/javax/ws/rs/InternalServerErrorException.html
that class has been added since version 2.0 of jax rs.
Should I report the issue even on CXF bug track?
Thanks a lot for the attention.
Eugenio
Attachments
Attachments
Issue Links
- depends upon
-
CXF-5556 CXF JAX-RS 2.0 is not backward compatible with JAX-RS 1.1 on the exception path
- Closed