I am trying to create a very simple REST service using Jersey. Here is the service code
@Path(\"/UserService\")
publ
To use Jackson 2.x as your JSON provider you need to add jersey-media-json-jackson module to your pom.xml
file:
org.glassfish.jersey.media
jersey-media-json-jackson
2.22.2
And then register the JacksonFeature in your Application/ResourceConfig subclass.
For more details, have a look at Jersey documentation.