Getting 404 HTTP Status on a simple RestEasy application on EAP 7.2

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In