title: How to find the source of an error from Maven animal sniffer plugin?
body: <p>From my <code>pom.xml</code> to configure Maven animal sniffer plugin:</p>
  
  <pre><code>&lt;properties&gt;
      &lt;animal-sniffer-maven-plugin.version&gt;1.9&lt;/animal-sniffer-maven-plugin.version&gt;
  &lt;/properties&gt;
  &lt;plugin&gt;
      &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
      &lt;artifactId&gt;animal-sniffer-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;${animal-sniffer-maven-plugin.version}&lt;/version&gt;
      &lt;configuration&gt;
          &lt;signature&gt;
              &lt;groupId&gt;org.codehaus.mojo.signature&lt;/groupId&gt;
              &lt;artifactId&gt;java16-sun&lt;/artifactId&gt;
              &lt;version&gt;1.0&lt;/version&gt;
          &lt;/signature&gt;
      &lt;/configuration&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;id&gt;check-java16-sun&lt;/id&gt;
              &lt;phase&gt;test&lt;/phase&gt;
              &lt;goals&gt;
                  &lt;goal&gt;check&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>(This was borrowed from Google Guava's <code>pom.xml</code>)</p>
  
  <p>Today, I started getting an error from the sniffer plug-in:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check (check-java16-sun) on project Optimus:
  Execution check-java16-sun of goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check failed:
  An API incompatibility was encountered while executing org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check:
  java.lang.NoSuchMethodError: java.nio.CharBuffer.subSequence(II)Ljava/nio/CharBuffer;
  </code></pre>
  
  <p>I am not calling <code>CharBuffer.subSequence(...)</code> directly in my code.  It is likely coming from an included JAR.  How do I find the offending class?</p>