Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I created RESTful webservice in Netbeans.

Everything works good when I access resources in web browser. But when I create Java Application and generate Jersey Client, I still get:

com.sun.jersey.api.client.UniformInterfaceException: GET "http://localhost:8080/..."returned a response status of 404 NotFound. 

When I copy the link into browser, it works.

I tried it on Glassfish servers 3.1.2 & 3.1.1, Netbeans 7.01 & 7.3 and also tried to deploy service with extend Application and with web.xml.
Posted

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