title: MessageBodyReader not found for media type=application/octet-stream
body: <p>I'm trying to receive json data from <a href="http://api.openweathermap.org/data/2.5/forecast/daily?lat=35&amp;lon=139&amp;cnt=10&amp;mode=json">http://api.openweathermap.org/data/2.5/forecast/daily?lat=35&amp;lon=139&amp;cnt=10&amp;mode=json</a> with the following code snippet:</p>
  
  <pre><code>private WebTarget getWebTarget() {
      Client client = JerseyClientBuilder.newClient();
      return client.target("http://api.openweathermap.org/")
              .path("data")
              .path("2.5");
  }
  
  // new one method
      Response response = getWebTarget()
                          .path("daily")
                          .queryParam("q", String.format("%s,%s", town, countryCode))
                          .queryParam("cnt", 10)
                          .queryParam("mode", "json")
                          .request().accept(MediaType.APPLICATION_JSON_TYPE).get();
      WeatherForecast forecast = response.readEntity(WeatherForecast.class);
  </code></pre>
  
  <p>But last line throws:    </p>
  
  <blockquote>
    <p>org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException:
    MessageBodyReader not found for media type=application/octet-stream,
    type=class
    com.app.weather.providers.org.openweathermap.pojo.WeatherForecast,
    genericType=class
    com.app.weather.providers.org.openweathermap.pojo.WeatherForecast.</p>
  </blockquote>
  
  <p>Jersey dependencies in pom.xml:</p>
  
  <pre><code>&lt;dependency&gt;
              &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
              &lt;artifactId&gt;jackson-mapper-asl&lt;/artifactId&gt;
              &lt;version&gt;1.9.13&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.glassfish.jersey.containers&lt;/groupId&gt;
              &lt;artifactId&gt;jersey-container-servlet-core&lt;/artifactId&gt;
              &lt;version&gt;2.4&lt;/version&gt;
              &lt;!-- use the following artifactId if you don't need servlet 2.x compatibility --&gt;
              &lt;!-- artifactId&gt;jersey-container-servlet&lt;/artifactId --&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.glassfish.jersey.media&lt;/groupId&gt;
              &lt;artifactId&gt;jersey-media-moxy&lt;/artifactId&gt;
              &lt;version&gt;2.4&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.glassfish.jersey.media&lt;/groupId&gt;
              &lt;artifactId&gt;jersey-media-multipart&lt;/artifactId&gt;
              &lt;version&gt;2.4&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.glassfish.jersey.media&lt;/groupId&gt;
              &lt;artifactId&gt;jersey-media-json&lt;/artifactId&gt;
              &lt;version&gt;2.0-m05-1&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>
  
  <p>This code running outside of application server. Thanks.</p>