404 error with Jersey REST Service on Tomcat
问题 I have looked at all the answers available on this topic, either I am facing a completely different problem or I am missing something big time. Service Class: package org.test; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; //http://localhost:8080/JunkWeb/rest/TestRestService/callService @Path("/TestRestService") public class TestRestService { @GET @Path("/callService") @Produces(MediaType.TEXT_PLAIN) public String callService(