I have created an app implementing REST services locally using:
Eclipse Indigo Jersey 2.4 Tomcat 7.0.47
When running locally using Eclipse, the services work
In my case it was just a missing @PathParam("id") for the 'int id' declaration. Wrong code:
@PathParam("id")
@POST @Path("{id}/messages") public Response returnMessages(int id, Message[] msgs) {
Corrected code:
@POST @Path("{id}/messages") public Response returnMessages(@PathParam("id") int id, Message[] msgs) {