-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
method not found: AnonymousAWSCredentials #3153
Comments
Hi @huycse31501 What's the actual issue you are running into? Can you provide the full stacktrace of the error and a repro code? |
Is is NoSuchMethodError? How do I fix a NoClassDefFoundError, NoSuchMethodError or NoSuchFieldError? |
Ah yes we are also trying to standardize the aws-java-sdk-bundle version in our codebase, leaving no strictly version dependencies of other in it. But I just want to raise it so we could have a check here |
They are in the same package, just not in the same SDK module. Java SDK v1 has split packages. STSAssumeRoleWithWebIdentitySessionCredentialsProvider is in What's the actual issue you are running into? Can you provide the full stacktrace of the error and a repro code? |
It looks like this issue has not been active for more than five days. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please add a comment to prevent automatic closure, or if the issue is already closed please feel free to reopen it. |
Upcoming End-of-Support
Describe the bug
This file forgets to import AnonymousAWSCredentials as the beginning of the file, causing the error to popup
https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-sts/src/main/java/com/amazonaws/auth/STSAssumeRoleWithWebIdentitySessionCredentialsProvider.java
Regression Issue
Expected Behavior
No bugs
Current Behavior
Bugs (method not found)
Reproduction Steps
Just use the sdk on the file path and its gonna show
Possible Solution
Import the method at the beginning of the file
Additional Information/Context
No response
AWS Java SDK version used
AWS SDK for Java 1.12.771
JDK version used
17
Operating System and version
MAC OS
The text was updated successfully, but these errors were encountered: