title: no suitable HttpMessageConverter found for response type
body: <p>Using spring, with this code :</p>
  
  <pre><code>List&lt;HttpMessageConverter&lt;?&gt;&gt; messageConverters = restTemplate.getMessageConverters();
  for(HttpMessageConverter httpMessageConverter : messageConverters){
    System.out.println(httpMessageConverter);
  }
  ResponseEntity&lt;ProductList&gt; productList = restTemplate.getForEntity(productDataUrl,ProductList.class);
  </code></pre>
  
  <p>I get </p>
  
  <pre><code>org.springframework.http.converter.ByteArrayHttpMessageConverter@34649ee4
  org.springframework.http.converter.StringHttpMessageConverter@39fba59b
  org.springframework.http.converter.ResourceHttpMessageConverter@383580da
  org.springframework.http.converter.xml.SourceHttpMessageConverter@409e850a
  org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter@673074aa
  org.springframework.http.converter.xml.Jaxb2RootElementHttpMessageConverter@1e3b79d3
  org.springframework.http.converter.json.MappingJackson2HttpMessageConverter@52bb1b26
  
  org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [class com.mycopmany.ProductList] and content type [text/html;charset=UTF-8]
  </code></pre>
  
  <p>The a snippet of the pojo :</p>
  
  <pre><code>@XmlRootElement(name="TheProductList")
  public class ProductList {
  
  @XmlElement(required = true, name = "date")
  private LocalDate importDate;
  </code></pre>