title: What Maven Dependencies to use Swagger with DropWizard 0.7.0
body: <p>I have an existing dropwizard 0.7.0 service which I would like to document using Swagger.  I am using the followind dependency for swagger from <a href="https://github.com/wordnik/swagger-core/wiki/JavaDropwizard-Quickstart" rel="nofollow">https://github.com/wordnik/swagger-core/wiki/JavaDropwizard-Quickstart</a></p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;com.wordnik&lt;/groupId&gt;
    &lt;artifactId&gt;swagger-jaxrs_2.10&lt;/artifactId&gt;
    &lt;version&gt;1.3.0&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>However when I add that dependency I get the following error:</p>
  
  <pre><code>java.lang.NoClassDefFoundError: com/google/common/collect/FluentIterable
      at com.fasterxml.jackson.datatype.guava.GuavaTypeModifier.modifyType(GuavaTypeModifier.java:38)
  </code></pre>
  
  <p>The following post was helpful but my issue is with the dependencies.
  <a href="https://stackoverflow.com/questions/23301054/how-to-use-swagger-with-dropwizard-0-7-0">How to use swagger with dropwizard .0.7.0</a></p>
  
  <p>What should my POM contain?  My dropwizard dependency is:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;io.dropwizard&lt;/groupId&gt;
      &lt;artifactId&gt;dropwizard-core&lt;/artifactId&gt;
      &lt;version&gt;0.7.0&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Thank you</p>