问题 I have a WAR with some JAX-RS services, deployed into TomEE Plus. Given a service annotated with @Path("myservice") , TomEE+ publishes it to localhost:8080/mywebapp/myservice . However, that also makes accessing a JSP at localhost:8080/mywebapp/index.jsp impossible - JAXRSInInterceptor complains that No root resource matching request path has been found, Relative Path: /index.jsp . So I would like to configure a path prefix api to all services, which changes the myservice URL to localhost