we are working on Spring boot applicaation to connect with AWS S3.
final AWSCredentials credentials = new BasicAWSCredentials(accessKey, secretKey);
AmazonS3 s3client = AmazonS3ClientBuilder.standard()
.withRegion(Regions.US_WEST_2)
.withCredentials(new AWSStaticCredentialsProvider(credentials))
.build();
while creating the AwsCredentials object line itself we facing the below issue
java.lang.SecurityException: class "com.amazonaws.auth.BasicAWSCredentials"'s signer information does not match signer information of other classes in the same package
we didn't understand what is the issue?
so anyone know what is the issue and how to resolve this?