title: Jersey: "Missing dependency for method ..."
body: <p>Could somebody please explain the meaning of this error?</p>
  
  <pre><code>INFO: Scanning for root resource and provider classes in the Web app resource paths:
    /WEB-INF/lib
    /WEB-INF/classes
  Feb 21, 2012 3:03:48 AM com.sun.jersey.api.core.ScanningResourceConfig logClasses
  INFO: Root resource classes found:
    class com.foo.dom2jcr.rest.XMLCRUDRestlet
  Feb 21, 2012 3:03:48 AM com.sun.jersey.api.core.ScanningResourceConfig init
  INFO: No provider classes found.
  Feb 21, 2012 3:03:48 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
  INFO: Initiating Jersey application, version 'Jersey: 1.11 12/09/2011 10:27 AM'
  Feb 21, 2012 3:03:49 AM com.sun.jersey.spi.inject.Errors processErrorMessages
  SEVERE: The following errors and warnings have been detected with resource and/or provider classes:
    SEVERE: Missing dependency for method public void com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties) at parameter at index 0
    SEVERE: Missing dependency for method public void com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties) at parameter at index 0
    SEVERE: Missing dependency for method public void com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties) at parameter at index 0
    SEVERE: Missing dependency for method public void com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties) at parameter at index 0
    SEVERE: Missing dependency for method public void com.sun.jersey.json.impl.provider.entity.JSONJAXBElementProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties) at parameter at index 0
    SEVERE: Missing dependency for method public void com.sun.jersey.json.impl.provider.entity.JSONJAXBElementProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties) at parameter at index 0
    SEVERE: Missing dependency for method public void com.sun.jersey.json.impl.provider.entity.JSONListElementProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties) at parameter at index 0
    SEVERE: Missing dependency for method public void com.sun.jersey.json.impl.provider.entity.JSONListElementProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties) at parameter at index 0
    SEVERE: Missing dependency for method public void com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties) at parameter at index 0
  [INFO] Started Jetty Server
  </code></pre>
  
  <p>I am using Jersey 1.11 + Jetty 7.6.1.v20120215.
  These are my dependencies:</p>
  
  <pre><code>                &lt;dependency&gt;
                      &lt;groupId&gt;com.sun.jersey&lt;/groupId&gt;
                      &lt;artifactId&gt;jersey-bundle&lt;/artifactId&gt;
                      &lt;version&gt;1.11&lt;/version&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;com.sun.jersey&lt;/groupId&gt;
                      &lt;artifactId&gt;jersey-client&lt;/artifactId&gt;
                      &lt;version&gt;1.11&lt;/version&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;com.sun.jersey&lt;/groupId&gt;
                      &lt;artifactId&gt;jersey-servlet&lt;/artifactId&gt;
                      &lt;version&gt;1.11&lt;/version&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                     &lt;groupId&gt;com.sun.jersey.contribs&lt;/groupId&gt;
                     &lt;artifactId&gt;jersey-multipart&lt;/artifactId&gt;
                     &lt;version&gt;1.11&lt;/version&gt;
                  &lt;/dependency&gt;
  </code></pre>
  
  <p>I tried looking around Google, but I couldn't seem to find the cause. </p>
  
  <p>Thanks in advance!</p>