Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-153

Dependency on javax.ws.rs 2.0 is back

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Won't Fix
    • None
    • None
    • odata2-core
    • 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

        1. mibo_fail_pom.xml
          6 kB
          mibo

        Issue Links

          Activity

            People

              mirbo mibo
              black@t Eugenio Lentini
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: