title: ClassNotFoundException: com.auth0.jwt.exceptions.JWTCreationException with DocuSignApi Java SDK
body: <p>I'm trying to implement some basic functionality with the newest DocuSignApi for Java (version 2.6.2).  I'm currently just trying to get the JWT Authorization Flow working.  Here's the code:</p>
  
  <pre><code>ApiClient apiClient = new ApiClient();
  
  this.apiClient.configureJWTAuthorizationFlow(this.adminProperties.getRsaPublicKey(), this.adminProperties
              .getRsaPrivateKey(), this.adminProperties.getoAuthBaseUrl(), this.adminProperties.getIntegratorKey(),
              this.adminProperties.getImpersonatedUserGuid(), TOKEN_EXPIRATION_IN_SECONDS);
  </code></pre>
  
  <p>On the `ApiClient.configureJWTAuthorizationFlow(...) call above I'm receiving the following runtime error:</p>
  
  <pre><code>Caused by: java.lang.ClassNotFoundException: com.auth0.jwt.exceptions.JWTCreationException
  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  </code></pre>
  
  <p>I do not receive any compilation errors, just to be clear.</p>
  
  <p>I have added this to my project pom as indicated from the <a href="https://github.com/docusign/docusign-java-client" rel="nofollow noreferrer">DocuSignApi Java Wiki</a>:</p>
  
  <pre><code>  &lt;dependency&gt;
      &lt;groupId&gt;com.docusign&lt;/groupId&gt;
      &lt;artifactId&gt;docusign-esign-java&lt;/artifactId&gt;
      &lt;version&gt;2.6.2&lt;/version&gt;
    &lt;/dependency&gt;
  </code></pre>
  
  <p>Now I'm also using a Maven archetype that is pulling in a ton of other jars that are used with all of my company's projects and are needed for other functionality in my application.  I can see that my effective pom is pulling in this version of java-jwt &amp; spring-security-jwt:</p>
  
  <pre><code>  &lt;dependency&gt;
      &lt;groupId&gt;com.auth0&lt;/groupId&gt;
      &lt;artifactId&gt;java-jwt&lt;/artifactId&gt;
      &lt;version&gt;2.2.0&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
      &lt;artifactId&gt;spring-security-jwt&lt;/artifactId&gt;
      &lt;version&gt;1.0.8.RELEASE&lt;/version&gt;
    &lt;/dependency&gt;
  </code></pre>
  
  <p>I also noticed that one of the dependencies listed on the <a href="https://github.com/docusign/docusign-java-client" rel="nofollow noreferrer">DocuSignApi Java Wiki</a> is as such:</p>
  
  <pre><code>org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.2
  </code></pre>
  
  <p>I suspect that my error may have something to do with a version conflict between the JWT 2.2.0 in my archetype and the required 1.0.2 version from DocuSign.</p>
  
  <p>My questions are</p>
  
  <ol>
  <li>Is my error indeed caused by a version conflict with the JWT jar?</li>
  <li>If so, what's the best way to remedy this problem?  Can the DocuSignApi work with a newer version of JWT like I have?</li>
  </ol>
  
  <p>Thank you for your time!</p>