JAX-RS / Jersey how to customize error handling?
I’m learning JAX-RS (aka, JSR-311) using Jersey. I’ve successfuly created a Root Resource and am playing around with parameters: @Path(“/hello”) public class HelloWorldResource … Read more
I’m learning JAX-RS (aka, JSR-311) using Jersey. I’ve successfuly created a Root Resource and am playing around with parameters: @Path(“/hello”) public class HelloWorldResource … Read more
This is more of a general question about the difference between text/xml and application/xml. I am fairly new to writing webservices (REST – … Read more
I am trying to get a web service to work which returns a JSON (JAX-RS with jersey implementation on Tomcat). However, I am … Read more
The problem: java.lang.ClassNotFoundException: org.glassfish.jersey.servlet.ServletContainer indicates that you try to use the Jersey 2.x servlet, but you are supplying the Jersey 1.x libs. For Jersey 1.x you have to do … Read more
The ResourceConfig instance does not contain any root resource classes