title: Jersey dependency conflict
body: <p>I'm implementing a <a href="http://www.dropwizard.io/1.2.2/docs/" rel="nofollow noreferrer">dropwizard</a> server app on top of an existing project. building with maven. </p>
  
  <p>I'm currently in jar hell, and it's not fun. I have a pom file that's rather convoluted. I have a big problem with jersey dependencies packaged with hadoop/glassfish/com.sun. <code>com.sun.jersey:jersey-core:jar1.19</code> is conflicting with <code>org.glassfish.jersey.core:jersey-client:jar:2.22.2</code>. I tried adding some exclusions to make it use the <code>2.22.x</code> version, but it's still giving me the error seen <a href="https://stackoverflow.com/questions/34136774/dropwizard-application-crashed-by-abstractjaxbprovider">here</a>. I've been combing through the dependency tree and adding exclusions where I see fit, but can't seem to get it right. Here is my <a href="https://pastebin.com/PCJFJSNC" rel="nofollow noreferrer">pom file</a>.</p>