I have a Web service that uses REST. When I run my Web service and I get an error that says, "No root resource matching request path", when I go to this URL:
http://localhost:9000/helloworld/
What could be the problem?
Here is a portion of the code:
@Path("/helloworld/")
public class HelloWorldResource {
public static final
String CLICHED_MESSAGE = "Hello World!";
@GET
@Produces("text/plain")
public String getHello() {
return CLICHED_MESSAGE;
}