title: AWS Java SDK Error - java.lang.NoSuchMethodError
body: <p>I've seen this type of error over here for exceptions that are thrown by various classes, though I haven't found the right solution for mine just yet.</p>
  
  <p>I'm trying to get AWS Java SDK work locally so I can write a test application that reads data from a Kinesis stream.
  Problem is, when I run the <code>init()</code> static method I encounter the following error:</p>
  
  <pre><code>Exception in thread "main" java.lang.NoSuchMethodError:
  org.apache.http.impl.conn.DefaultClientConnectionOperator.&lt;init&gt;
  (Lorg/apache/http/conn/scheme/SchemeRegistry;Lorg/apache/http/conn/DnsResolver;)V
  </code></pre>
  
  <p>Now, this is not the first error I've been thrown. I've been thrown four or five exceptions prior to this one, and the solution to all of them was just importing some jar's into the project. e.g.:</p>
  
  <ul>
  <li>apache-httpcomponents-httpclient.jar</li>
  <li>com.fasterxml.jackson.databind.jar</li>
  <li>commons-codec-1.9.jar / commons-codec-1.9-javadoc.jar / commons-codec-1.9-sources.jar</li>
  <li>httpclient-4.2.jar</li>
  <li>httpcore-4.0.1.jar</li>
  </ul>
  
  <p>I've seen in other threads around here that it could be the version of the <code>httpcore</code> library, however I imported the latest one.</p>
  
  <p>Any ideas how I can resolve this? I'm thinking about starting over, as my project seems to be a heap of imports I'm not sure I'll actually utilize. Furthermore, I can't debug the binary imports of the AWS SDK (or can't I?).</p>
  
  <p>Cheers.</p>