I am using Jersy to develeop REST webservices, this is my simple code:
@GET
@Path(\"/retrieveCustomerInformation/{jsonString}\")
@Produces(MediaType.APPLICAT
Check for clashing @Path annotations. This will result with the same error. It's a weird error for communicating path issues, but you can easily test it by renaming the matching paths.
Example of cashing paths in the code below
Some class
@Path("/storage")
public class BookingRestService {
@GET
@Path("/bookings")
@Produces(value = MediaType.APPLICATION_XML)
and another class
@Path("/storage")
public class StorageRestService {
By renaming any of the @Path("/storage")
the problem seizes to impair your work progress.