Skip to content
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

Closed
1 of 2 tasks
huycse31501 opened this issue Oct 9, 2024 · 6 comments
Closed
1 of 2 tasks

method not found: AnonymousAWSCredentials #3153

huycse31501 opened this issue Oct 9, 2024 · 6 comments
Assignees
Labels
bug This issue is a bug. closed-for-staleness p3 This is a minor priority issue response-requested Waiting on additional info or feedback. Will move to "closing-soon" in 5 days.

Comments

@huycse31501
Copy link

Upcoming End-of-Support

  • I acknowledge the upcoming end-of-support for AWS SDK for Java v1 was announced, and migration to AWS SDK for Java v2 is recommended.

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

  • Select this option if this issue appears to be a regression.

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

@huycse31501 huycse31501 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Oct 9, 2024
@debora-ito
Copy link
Member

Hi @huycse31501 STSAssumeRoleWithWebIdentitySessionCredentialsProvider and AnonymousAWSCredentials are in the same package com.amazonaws.auth, so the import statement is not needed.

What's the actual issue you are running into? Can you provide the full stacktrace of the error and a repro code?

@debora-ito debora-ito added response-requested Waiting on additional info or feedback. Will move to "closing-soon" in 5 days. p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Oct 9, 2024
@debora-ito debora-ito self-assigned this Oct 9, 2024
@debora-ito
Copy link
Member

debora-ito commented Oct 9, 2024

@huycse31501
Copy link
Author

Hi, its not there
image

@huycse31501
Copy link
Author

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

@github-actions github-actions bot removed the response-requested Waiting on additional info or feedback. Will move to "closing-soon" in 5 days. label Oct 9, 2024
@debora-ito
Copy link
Member

They are in the same package, just not in the same SDK module. Java SDK v1 has split packages.

STSAssumeRoleWithWebIdentitySessionCredentialsProvider is in com.amazonaws:aws-java-sdk-sts, AnonymousAWSCredentials is in com.amazonaws:aws-java-sdk-core.

What's the actual issue you are running into? Can you provide the full stacktrace of the error and a repro code?

@debora-ito debora-ito added the response-requested Waiting on additional info or feedback. Will move to "closing-soon" in 5 days. label Oct 9, 2024
Copy link

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.

@github-actions github-actions bot added closing-soon This issue will close in 2 days unless further comments are made. closed-for-staleness and removed closing-soon This issue will close in 2 days unless further comments are made. labels Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. closed-for-staleness p3 This is a minor priority issue response-requested Waiting on additional info or feedback. Will move to "closing-soon" in 5 days.
Projects
None yet
Development

No branches or pull requests

2 participants