if your intention is to PUBLISH a service you should annotate with @Produces
https://jsr311.java.net/nonav/javadoc/javax/ws/rs/Produces.html
(the container WILL USE THE VALUE of the Produces when sending a response)
If on the other hand the container sees no acceptable value for Produces
"If no suc
you are missing @Path(ClassName)
Why?
Path Identifies the URI path that a resource class or class method will serve
requests for.
An example:
@Path("widgets")
public class WidgetsResource {
@GET
String getList() {...}
@GET @Path("{id}")
String getWidget(@PathParam("id") String id