[ https://issues.apache.org/jira/browse/OLINGO-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13897696#comment-13897696 ]
Sergey Beryozkin commented on OLINGO-153: ----------------------------------------- Hi, I've already done it and linked this JIRA to the CXF one; the trunk has already been updated, some more optimizations and the back merge to 2.7.x will follow Sergey > Dependency on javax.ws.rs 2.0 is back > ------------------------------------- > > Key: OLINGO-153 > URL: https://issues.apache.org/jira/browse/OLINGO-153 > Project: Olingo > Issue Type: Bug > Components: odata2-core > Reporter: Eugenio Lentini > Assignee: Michael Bolz > Priority: Critical > Attachments: mibo_fail_pom.xml > > > 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 -- This message was sent by Atlassian JIRA (v6.1.5#6160)