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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content