Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HTTP Status 404 - /com.vogella.jersey.todo/rest/todos

type Status report

message /com.vogella.jersey.todo/rest/todos

description The requested resource (/com.vogella.jersey.todo/rest/todos) is not available.

Apache Tomcat/7.0.12

i have already used goto server properties an all things but the problem is not solved.I am using this link http://www.vogella.com/tutorials/REST/article.html

HTTP Status 404 - /com.vogella.jersey.todo/rest/todos/1

type Status report

message /com.vogella.jersey.todo/rest/todos/1

description The requested resource (/com.vogella.jersey.todo/rest/todos/1) is not available.

Apache Tomcat/7.0.12

What I have tried:

i tried JAX_RS but it is showing an error HTTP Status 404 - /com.vogella.jersey.todo/rest/todos

type Status report

message /com.vogella.jersey.todo/rest/todos

description The requested resource (/com.vogella.jersey.todo/rest/todos) is not available.

Apache Tomcat/7.0.12

i have already used goto server properties an all things but the problem is not solved.I am using this link http://www.vogella.com/tutorials/REST/article.html

HTTP Status 404 - /com.vogella.jersey.todo/rest/todos/1

type Status report

message /com.vogella.jersey.todo/rest/todos/1
Posted
Updated 25-Jul-16 8:57am

1 solution

You should check that /com.vogella.jersey.todo/rest/todos lead to an existing url on the server.
If exits, also check that the browser have access rights.

To make sure, type the address directly in browser address bar and see if it works. This will tell you if your code is wrong or url is wrong.
 
Share this answer
 
Comments
shobhit saxena1988 26-Jul-16 9:24am    
Only jar files included and my problem is solved.
Patrice T 26-Jul-16 9:44am    
If my solution was useful, Accept it.
If you found ther solution by yourself, open a solution which tell what is the solution and accept it.
Accepting a solution tells everyone that the question is not a problem anymore.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900