Error "Subresource for target class has no jax-rs annotations" when trying to access a JAX-RS method
Issue
We have a method in a JAX-RS resource which is using @Path
annotation. When we try to access this method URI, we have the following error:
Subresource for target class has no jax-rs annotations
Environment
- JBoss Enterprise Application Platform
- 5.x
- 6.x
- RESTEasy
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.