Getting 404 HTTP Status on a simple RestEasy application on EAP 7.2
Issue
Getting HTTP Status 404 with the following RestEasy application:
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
@Path("hello-world/")
public class HelloWorld {
@GET
@Path("test")
public String test() {
return "test ok";
}
}
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 7.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.