I am using Jersey 2.8 Client
to post data to RESTful endpoint. The code looks like
final Client client = ClientBuilder.newClient();
fina
I added a comment above stating that the addition of X had worked.
However, adding the following maven dependency to the pom.xml works as well, and seems like a more standard fix.
org.glassfish.jersey.media
jersey-media-moxy
Note: The org.glassfish.jersey.archetypes/jersey-quickstart-grizzly maven archetype adds the dependency above by default, but commented out with the comment "uncomment this to get JSON support".