facebook

problem deploying REST Webservice

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #312455 Reply

    lhammond
    Member

    hi,
    I’m getting the following error when deploying :
    java.lang.ClassNotFoundException: com.sun.jersey.spi.container.servlet.ServletContainer

    Version: 8.5
    Build id: 8.5-20100319

    any recommendations?

    #312456 Reply

    lhammond
    Member

    resolved … i restarted MyEclipse, removed all deployments, deleted directories in Tomcat’s work directory, re-added the deployment and all is ok.

    #314200 Reply

    mfkilgore
    Member

    Hello,

    I am getting this same error – java.lang.ClassNotFoundException: com.sun.jersey.spi.container.servlet.ServletContainer
    The fix above does not correct for this error, libraries may be missing.

    This is a new installation of 9.0M2, creation of an empty webservice restful application based on tutorial. I have changed two settings in the wizard:
    First added maven support
    Second changed to Java EE 6.0

    I noticed in the tutorial that the wizard does not have Java EE 6.0 as an option, is java 1.5 required?

    #314201 Reply

    mfkilgore
    Member

    Hello,

    I am getting this same error – java.lang.ClassNotFoundException: com.sun.jersey.spi.container.servlet.ServletContainer
    The fix above does not correct for this error, libraries may be missing.

    This is a new installation of 9.0M2, creation of an empty webservice restful application based on tutorial. I have changed two settings in the wizard:
    First added maven support
    Second changed to Java EE 6.0

    I noticed in the tutorial that the wizard does not have Java EE 6.0 as an option, is java 1.5 required?

    #314202 Reply

    mfkilgore
    Member

    Sorry for the double post, a further update to this issue. Starting the project over as Java EE 5.0 appears to be working. Using maven works as expected. However I have a requirement for 6.0.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: problem deploying REST Webservice

You must be logged in to post in the forum log in