dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2018
    Posts
    2

    Trouble starting Jersey based Web-Service

    Hi,
    I have a Jersey based REST web-service in Java. I am using Eclipse Mars and Tomcat 8.0. When I deploy the web-service as a WAR file to Tomcat and make a GET request to it using Postman, I get this error:

    java.lang.NoClassDefFoundError: javax/json/bind/JsonbException


    I have no idea how to fix this. Does anyone have a clue?

    Thanks,



    Saad

  2. #2
    Join Date
    Jun 1999
    Location
    Eastern Florida
    Posts
    3,785

    Re: Trouble starting Jersey based Web-Service

    Norm

  3. #3
    Join Date
    May 2018
    Posts
    2

    No errors but cannot access REST web service

    Hi,
    I am getting no errors or warnings in the console and in the catalina.log file (when I deploy the war file on Tomcat 8.0 through Tomcat manager but I cannot access the REST web-service at

    http://127.0.0.1:8080/SimpleRestServ...testparamvalue

    Also, if I have defined the parameter for the web-method through the PathParam annotation, do I pass the paramater like this:

    http://127.0.0.1:8080/SimpleRestServ...testparamvalue

    or like this:

    http://127.0.0.1:8080/SimpleRestServ...testparamvalue



    Saad

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)


×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.