Skip to content

Incorrect behavior of JAX-RS resource class annotated with @Path("/") #1084

@jclingan

Description

@jclingan

With no JAX-RS Application class defined and a resource class annotated with @path("/"), one would expect the default @get method to be called with "curl localhost:8080/". However, a 403 FORBIDDEN is returned. The result is that JAX-RS endpoints cannot be defined at "/".

Manually defining an Application class with an @ApplicationPath("/") does not fix the issue. Same 403 error.

Applications should be able to define endpoints at "/". This approach works in Thorntail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions