title: MessageBodyProviderNotFoundException when updating Jersey to 2.22.2
body: <p>I have a working app with Jersey 2.8, that I'm trying to upgrade to 2.22.2. But when I do that, Jersey keeps throwing these exceptions:</p>
  
  <pre><code>org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyWriter not found for media type=application/json, type=class java.util.ArrayList, genericType=class java.util.ArrayList.
  </code></pre>
  
  <p>I even manually added the jackson dependency</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
      &lt;artifactId&gt;jackson-core&lt;/artifactId&gt;
      &lt;version&gt;2.7.2&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>But it doesn't help.</p>
  
  <p>I'm using Spring Boot and this is my config class:</p>
  
  <pre><code>public class JerseyConfig extends ResourceConfig {
  
      public JerseyConfig() {
          packages("com.xxxxxx.resource", "com.xxxxx.provider");
          register(MultiPartFeature.class);
          register(LoggingFilter.class);
          this.property(ServerProperties.BV_SEND_ERROR_IN_RESPONSE, true);
          this.property(ServerProperties.RESPONSE_SET_STATUS_OVER_SEND_ERROR, true);
          this.property(ServletProperties.FILTER_FORWARD_ON_404, true);
      }
  
  }
  </code></pre>
  
  <p>And the relevant parts of my pom.xml:</p>
  
  <pre><code>&lt;dependencyManagement&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.glassfish.jersey&lt;/groupId&gt;
              &lt;artifactId&gt;jersey-bom&lt;/artifactId&gt;
              &lt;version&gt;${jersey.version}&lt;/version&gt;
              &lt;type&gt;pom&lt;/type&gt;
              &lt;scope&gt;import&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/dependencyManagement&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.glassfish.jersey.ext&lt;/groupId&gt;
          &lt;artifactId&gt;jersey-spring3&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.glassfish.jersey.ext&lt;/groupId&gt;
          &lt;artifactId&gt;jersey-bean-validation&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.glassfish.jersey.containers&lt;/groupId&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-multipart&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.fasterxml.jackson.datatype&lt;/groupId&gt;
          &lt;artifactId&gt;jackson-datatype-jsr310&lt;/artifactId&gt;
          &lt;version&gt;2.7.0&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
          &lt;artifactId&gt;jackson-core&lt;/artifactId&gt;
          &lt;version&gt;2.7.2&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>