title: java.lang.NoSuchFieldError: CLIENT_ENDPOINT for Amazon ECS
body: <p>I tried to list the ECS clusters using the code as follow:</p>
  <pre><code>AmazonECS = amazonECS AmazonECSClientBuilder.standard().withRegion(region).withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build():
  amazonECS.listClusters();
  </code></pre>
  <p>However, it gave the error</p>
  <blockquote>
  <p>java.lang.NoSuchFieldError: CLIENT_ENDPOINT</p>
  </blockquote>
  <p>The error stack is something like this:</p>
  <blockquote>
  <p>com.amazonaws.services.ecs.AmazonECSClient in executeListClusters at
  line 2220 com.amazonaws.services.ecs.AmazonECSClient in listClusters
  at line 2202 com.amazonaws.services.ecs.AmazonECSClient in
  listClusters at line 2245</p>
  </blockquote>
  <p>I am not too sure why this error occurred as the other Amazon services did not give me any similar error whatsoever and I have set the region previously based on the client's preference. Any ideas?</p>