HTTP 500 Internal Server Error in simple REST based program. Confused in GET and POST while receiving/sending response from server
One way to debug things like this is to create a simple ExceptionMapper to catch exceptions that are not mapped. When there is no mapper, often the exception will bubble up to the container level, which just gives us generic 500 server error (which most of the time is of little help). @Provider public class … Read more