title: Error in using aws-java-sdk-s3
body: <p>I am trying to s3 sdk with very basic test and getting below error. </p>
  
  <p>Caused by: java.lang.NoSuchFieldError: SIGNING_REGION
  at com.amazonaws.services.s3.AmazonS3Client.createRequest(AmazonS3Client.java:4227)
  at com.amazonaws.services.s3.AmazonS3Client.createRequest(AmazonS3Client.java:4203)
  at com.amazonaws.services.s3.AmazonS3Client.listBuckets(AmazonS3Client.java:929)
  at com.amazonaws.services.s3.AmazonS3Client.listBuckets(AmazonS3Client.java:936)</p>
  
  <p>aws-java-sdk-s3 </p>
  
  <pre><code>&lt;dependency&gt;
  &lt;groupId&gt;com.amazonaws&lt;/groupId&gt;
  &lt;artifactId&gt;aws-java-sdk-s3&lt;/artifactId&gt;
  &lt;version&gt;1.11.288&lt;/version&gt;
  &lt;/dependency
  
      ClientConfiguration cf = new ClientConfiguration();
      AWSCredentials credentials = new BasicAWSCredentials("&lt;id&gt;","&lt;secret&gt;");
      AmazonS3 amazonS3Client= 
      AmazonS3ClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(credentials)).withRegion(Regions.US_EAST_1).build();
      List&lt;Bucket&gt; buckets = amazonS3Client.listBuckets();
  </code></pre>
  
  <p>Maven dependency tree:</p>
  
  <pre><code>O] --- maven-dependency-plugin:2.10:tree (default-cli) @ AwsSdkDemo ---
  O] com.example:AwsSdkDemo:jar:0.0.1-SNAPSHOT
  O] +- org.springframework.boot:spring-boot-starter-data-jpa:jar:1.5.10.RELEASE:compile
  O] |  +- org.springframework.boot:spring-boot-starter:jar:1.5.10.RELEASE:compile
  O] |  |  +- org.springframework.boot:spring-boot:jar:1.5.10.RELEASE:compile
  O] |  |  +- org.springframework.boot:spring-boot-autoconfigure:jar:1.5.10.RELEASE:compile
  O] |  |  +- org.springframework.boot:spring-boot-starter-logging:jar:1.5.10.RELEASE:compile
  O] |  |  |  +- ch.qos.logback:logback-classic:jar:1.1.11:compile
  O] |  |  |  |  \- ch.qos.logback:logback-core:jar:1.1.11:compile
  O] |  |  |  +- org.slf4j:jul-to-slf4j:jar:1.7.25:compile
  O] |  |  |  \- org.slf4j:log4j-over-slf4j:jar:1.7.25:compile
  O] |  |  \- org.yaml:snakeyaml:jar:1.17:runtime
  O] |  +- org.springframework.boot:spring-boot-starter-aop:jar:1.5.10.RELEASE:compile
  O] |  |  +- org.springframework:spring-aop:jar:4.3.14.RELEASE:compile
  O] |  |  \- org.aspectj:aspectjweaver:jar:1.8.13:compile
  O] |  +- org.springframework.boot:spring-boot-starter-jdbc:jar:1.5.10.RELEASE:compile
  O] |  |  +- org.apache.tomcat:tomcat-jdbc:jar:8.5.27:compile
  O] |  |  |  \- org.apache.tomcat:tomcat-juli:jar:8.5.27:compile
  O] |  |  \- org.springframework:spring-jdbc:jar:4.3.14.RELEASE:compile
  O] |  +- org.hibernate:hibernate-core:jar:5.0.12.Final:compile
  O] |  |  +- org.jboss.logging:jboss-logging:jar:3.3.1.Final:compile
  O] |  |  +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
  O] |  |  +- org.javassist:javassist:jar:3.21.0-GA:compile
  O] |  |  +- antlr:antlr:jar:2.7.7:compile
  O] |  |  +- org.jboss:jandex:jar:2.0.0.Final:compile
  O] |  |  +- dom4j:dom4j:jar:1.6.1:compile
  O] |  |  \- org.hibernate.common:hibernate-commons-annotations:jar:5.0.1.Final:compile
  O] |  +- org.hibernate:hibernate-entitymanager:jar:5.0.12.Final:compile
  O] |  +- javax.transaction:javax.transaction-api:jar:1.2:compile
  O] |  +- org.springframework.data:spring-data-jpa:jar:1.11.10.RELEASE:compile
  O] |  |  +- org.springframework.data:spring-data-commons:jar:1.13.10.RELEASE:compile
  O] |  |  +- org.springframework:spring-orm:jar:4.3.14.RELEASE:compile
  O] |  |  +- org.springframework:spring-context:jar:4.3.14.RELEASE:compile
  O] |  |  +- org.springframework:spring-tx:jar:4.3.14.RELEASE:compile
  O] |  |  +- org.springframework:spring-beans:jar:4.3.14.RELEASE:compile
  O] |  |  +- org.slf4j:slf4j-api:jar:1.7.25:compile
  O] |  |  \- org.slf4j:jcl-over-slf4j:jar:1.7.25:compile
  O] |  \- org.springframework:spring-aspects:jar:4.3.14.RELEASE:compile
  O] +- org.springframework.boot:spring-boot-starter-web:jar:1.5.10.RELEASE:compile
  O] |  +- org.springframework.boot:spring-boot-starter-tomcat:jar:1.5.10.RELEASE:compile
  O] |  |  +- org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.27:compile
  O] |  |  |  \- org.apache.tomcat:tomcat-annotations-api:jar:8.5.27:compile
  O] |  |  +- org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.27:compile
  O] |  |  \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.27:compile
  O] |  +- org.hibernate:hibernate-validator:jar:5.3.6.Final:compile
  O] |  |  +- javax.validation:validation-api:jar:1.1.0.Final:compile
  O] |  |  \- com.fasterxml:classmate:jar:1.3.4:compile
  O] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.8.10:compile
  O] |  |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.8.0:compile
  O] |  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.8.10:compile
  O] |  +- org.springframework:spring-web:jar:4.3.14.RELEASE:compile
  O] |  \- org.springframework:spring-webmvc:jar:4.3.14.RELEASE:compile
  O] |     \- org.springframework:spring-expression:jar:4.3.14.RELEASE:compile
  O] +- com.amazonaws:aws-java-sdk-s3:jar:1.11.288:compile
  O] |  +- com.amazonaws:aws-java-sdk-kms:jar:1.11.125:compile
  O] |  +- com.amazonaws:aws-java-sdk-core:jar:1.11.125:compile
  O] |  |  +- commons-logging:commons-logging:jar:1.1.3:compile
  O] |  |  +- org.apache.httpcomponents:httpclient:jar:4.5.5:compile
  O] |  |  |  +- org.apache.httpcomponents:httpcore:jar:4.4.9:compile
  O] |  |  |  \- commons-codec:commons-codec:jar:1.10:compile
  O] |  |  +- software.amazon.ion:ion-java:jar:1.0.2:compile
  O] |  |  +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.8.10:compile
  O] |  |  \- joda-time:joda-time:jar:2.9.9:compile
  O] |  \- com.amazonaws:jmespath-java:jar:1.11.125:compile
  O] +- com.h2database:h2:jar:1.4.196:runtime
  O] +- org.projectlombok:lombok:jar:1.16.20:compile
  O] \- org.springframework.boot:spring-boot-starter-test:jar:1.5.10.RELEASE:test
  O]    +- org.springframework.boot:spring-boot-test:jar:1.5.10.RELEASE:test
  O]    +- org.springframework.boot:spring-boot-test-autoconfigure:jar:1.5.10.RELEASE:test
  O]    +- com.jayway.jsonpath:json-path:jar:2.2.0:test
  O]    |  \- net.minidev:json-smart:jar:2.2.1:test
  O]    |     \- net.minidev:accessors-smart:jar:1.1:test
  O]    |        \- org.ow2.asm:asm:jar:5.0.3:test
  O]    +- junit:junit:jar:4.12:test
  O]    +- org.assertj:assertj-core:jar:2.6.0:test
  O]    +- org.mockito:mockito-core:jar:1.10.19:test
  O]    |  \- org.objenesis:objenesis:jar:2.1:test
  O]    +- org.hamcrest:hamcrest-core:jar:1.3:test
  O]    +- org.hamcrest:hamcrest-library:jar:1.3:test
  O]    +- org.skyscreamer:jsonassert:jar:1.4.0:test
  O]    |  \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
  O]    +- org.springframework:spring-core:jar:4.3.14.RELEASE:compile
  O]    \- org.springframework:spring-test:jar:4.3.14.RELEASE:test
  O] ------------------------------------------------------------------------
  </code></pre>
  
  <p>pom.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;groupId&gt;com.example&lt;/groupId&gt;
      &lt;artifactId&gt;AwsSdkDemo&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
  
      &lt;name&gt;AwsSdkDemo&lt;/name&gt;
      &lt;description&gt;Demo project for Spring Boot&lt;/description&gt;
  
      &lt;parent&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
          &lt;version&gt;1.5.10.RELEASE&lt;/version&gt;
          &lt;relativePath/&gt; &lt;!-- lookup parent from repository --&gt;
      &lt;/parent&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
          &lt;java.version&gt;1.8&lt;/java.version&gt;
          &lt;spring-cloud.version&gt;Edgware.SR2&lt;/spring-cloud.version&gt;
      &lt;/properties&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-data-jpa&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.amazonaws&lt;/groupId&gt;
              &lt;artifactId&gt;aws-java-sdk-s3&lt;/artifactId&gt;
              &lt;version&gt;1.11.288&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.amazonaws&lt;/groupId&gt;
              &lt;artifactId&gt;aws-java-sdk-core&lt;/artifactId&gt;
              &lt;version&gt;1.11.288&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.h2database&lt;/groupId&gt;
              &lt;artifactId&gt;h2&lt;/artifactId&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.projectlombok&lt;/groupId&gt;
              &lt;artifactId&gt;lombok&lt;/artifactId&gt;
              &lt;optional&gt;true&lt;/optional&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;dependencyManagement&gt;
          &lt;dependencies&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-cloud-dependencies&lt;/artifactId&gt;
                  &lt;version&gt;${spring-cloud.version}&lt;/version&gt;
                  &lt;type&gt;pom&lt;/type&gt;
                  &lt;scope&gt;import&lt;/scope&gt;
              &lt;/dependency&gt;
          &lt;/dependencies&gt;
      &lt;/dependencyManagement&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
  
  &lt;/project&gt;
  </code></pre>