[ 
https://issues.apache.org/jira/browse/OLINGO-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13897091#comment-13897091
 ] 

Sergey Beryozkin commented on OLINGO-153:
-----------------------------------------

Eugenio, I really appreciate you spotting the issue in CXF JAX-RS 2.0 
implementation - this would've definitely bitten us (not referring to Olingo 
here) in many cases where multiple JAX-RS frameworks are loaded in the same 
JVM; 
You are also welcome to migrate, it won't be an issue for me because it's a 
reality, people looking for the best JAX-RS framework meeting their 
requirements, Jersey & RestEasy are very good, so it's up to you, not a problem 
for me :-)
In the end of the day I have an issue to deal with, will update this JIRA once 
I'm done

Thanks :-)


 

> 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)

Reply via email to