title: The import com.amazonaws.services.s3.AmazonS3ClientBuilder cannot be resolved
body: <p>I am trying to access my s3 buckets from my java application, trying to implement this</p>
  
  <p><a href="https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/examples-s3-buckets.html" rel="noreferrer">https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/examples-s3-buckets.html</a></p>
  
  <p>I've added the lib/aws-java-sdk-1.8.6.jar to my lib folder and added the dependency in my pom.xml as well.</p>
  
  <p>I still get this import error </p>
  
  <blockquote>
    <p>"The import com.amazonaws.services.s3.AmazonS3ClientBuilder cannot be resolved"
    for "import com.amazonaws.services.s3.AmazonS3ClientBuilder;"</p>
  </blockquote>
  
  <p>Whereas the imports </p>
  
  <blockquote>
    <p>"import com.amazonaws.services.s3.AmazonS3;" and "import
    com.amazonaws.services.s3.model.Bucket;" gave no errors.</p>
  </blockquote>
  
  <p>Any help would be appreciated. I found some people trying to implement for Android ran in similar issues but not this exactly</p>