-
May 27th, 2018, 09:52 PM
#1
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
-
May 28th, 2018, 09:35 AM
#2
Re: Trouble starting Jersey based Web-Service
Norm
-
May 28th, 2018, 08:03 PM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|