title: No HttpMessageConverter for [com.fasterxml.jackson.databind.node.ObjectNode] and content type [text/html]
body: <p>i am calling a rest API with below <code>restTemplate</code> set up. API is returning response of type <code>[text/html]</code>  but i am not able to convert it into</p>
  <pre><code> RestTemplate restTemplate = new RestTemplate();
      String url = UriComponentsBuilder.fromUriString(host + &quot;/api&quot;).toUriString();
      HttpHeaders requestHeaders = new HttpHeaders();
      List&lt;HttpMessageConverter&lt;?&gt;&gt; messageConverters = new ArrayList&lt;HttpMessageConverter&lt;?&gt;&gt;();
      Jaxb2RootElementHttpMessageConverter jaxbMessageConverter = new Jaxb2RootElementHttpMessageConverter();
      List&lt;MediaType&gt; mediaTypes = new ArrayList&lt;MediaType&gt;();
      mediaTypes.add(MediaType.ALL);
      jaxbMessageConverter.setSupportedMediaTypes(mediaTypes);
      messageConverters.add(jaxbMessageConverter);
      restTemplate.setMessageConverters(messageConverters);
      requestHeaders.setContentType(MediaType.TEXT_HTML);
      MappingJackson2HttpMessageConverter converter = new MappingJackson2HttpMessageConverter();
      converter.setSupportedMediaTypes(Arrays.asList(MediaType.TEXT_PLAIN, MediaType.APPLICATION_JSON));
      converter.getObjectMapper().configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
      restTemplate.getMessageConverters().add(0, converter);
  </code></pre>
  <p>But getting below exception</p>
  <pre><code> No HttpMessageConverter for [com.fasterxml.jackson.databind.node.ObjectNode] and content type [text/html]
  at org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.doWithRequest(RestTemplate.java:956)
  at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
  </code></pre>