title: What Jersey dependency to add to avoid NoClassDefFoundError for jersey.repackaged.com.google.common.collect.Maps
body: <p>I'm trying to run a a test that extends <code>JerseyTest</code> but when running it I'm getting a:</p>
  
  <pre><code>java.lang.NoClassDefFoundError: jersey/repackaged/com/google/common/collect/Maps
  </code></pre>
  
  <p>Any idea what dependency I'm missing? I've included the following jersey artifacts in my <code>pom.xml</code> and jersey.version is 2.5.1:</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.glassfish.jersey.containers&lt;/groupId&gt;
          &lt;artifactId&gt;jersey-container-servlet&lt;/artifactId&gt;
          &lt;version&gt;${jersey.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.glassfish.jersey.core&lt;/groupId&gt;
          &lt;artifactId&gt;jersey-client&lt;/artifactId&gt;
          &lt;version&gt;${jersey.version}&lt;/version&gt;
      &lt;/dependency&gt;        
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.sun.jersey.jersey-test-framework&lt;/groupId&gt;
          &lt;artifactId&gt;jersey-test-framework-core&lt;/artifactId&gt;
          &lt;version&gt;1.18&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.glassfish.jersey.test-framework.providers&lt;/groupId&gt;
          &lt;artifactId&gt;jersey-test-framework-provider-grizzly2&lt;/artifactId&gt;
          &lt;version&gt;2.6&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  </code></pre>