mercredi 30 septembre 2015

Build failing with Amazon ProfileCredentialsProvider

   //   this.s3Client = new AmazonS3Client(new ProfileCredentialsProvider());
        this.s3Client = new AmazonS3Client();

If I uncomment the first line, my project build is failing saying that it doesn't recognise the package ( com.amazonaws.auth.profile) and that the it encountered an error at ProfileCredentialsProvider().

But if I use the second line, everything is ok. Why does that happen?




Aucun commentaire:

Enregistrer un commentaire