This discussion is archived
2 Replies Latest reply: Mar 18, 2013 10:52 AM by 997538 RSS

JAX-RS webservice -deployment issue

997538 Newbie
Currently Being Moderated
I am trying to create a restful webservice in Eclipse OEPE + Weblogic 10.3.6. when using 'com.sun.jersey.spi.container.servlet.ServletContainer' i don't have any issues in deploying & running the service. (kept jersey jars in lib directory of the application).

but when using 'weblogic.jaxrs.server.portable.servlet.ServletContainer', getting class not found exception during deployment. Can anyone tell me which jar has this class that needs to be available on the classpath?

FYI: i have selected weblogic system libraries in the build path and JAX-RS project facet is selected.

  • 1. Re: JAX-RS webservice -deployment issue
    user696 Explorer
    Currently Being Moderated
    This class is only available from WLS 'weblogic.jaxrs.server.portable.servlet.ServletContainer' please check below for weblogic 12c documentation which supports both classes

    For 10.3.6 only 'com.sun.jersey.spi.container.servlet.ServletContainer' is available.

    Sunil P
  • 2. Re: JAX-RS webservice -deployment issue
    997538 Newbie
    Currently Being Moderated
    Thanks Sunil. i was referring to the 12c docs.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points