AWS S3 に接続するための Spring Boot アプリケーションに取り組んでいます。
final AWSCredentials credentials = new BasicAWSCredentials(accessKey, secretKey);
AmazonS3 s3client = AmazonS3ClientBuilder.standard()
.withRegion(Regions.US_WEST_2)
.withCredentials(new AWSStaticCredentialsProvider(credentials))
.build();
AwsCredentials オブジェクト行自体を作成しているときに、以下の問題に直面しています
java.lang.SecurityException: class "com.amazonaws.auth.BasicAWSCredentials"'s signer information does not match signer information of other classes in the same package
問題が何であるか理解できませんでしたか?
誰でも問題が何であり、これを解決する方法を知っていますか?