MessageBodyProviderNotFoundException
The service failed during startup:
javax.ws.rs.client.ResponseProcessingException:
org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException:
MessageBodyReader not found for media type=text/html, type=class
com.fasterxml.jackson.databind.JsonNode, genericType=class
com.fasterxml.jackson.databind.JsonNode.
Solution
The reason in my case was that my code expected an application/json
payload whereas what was returned was an HTML (error) page.