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

Cannot resolve symbol because of unknown annotation #402

Closed
adpi2 opened this issue Nov 29, 2023 · 0 comments
Closed

Cannot resolve symbol because of unknown annotation #402

adpi2 opened this issue Nov 29, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@adpi2
Copy link
Member

adpi2 commented Nov 29, 2023

In the Java library io.opentelemetry:opentelemetry-context:1.13.0, if I try to resolve makeCurrent (source) in class io.opentelemetry.context.ImplicitContextKeyed I got a MemberNotFoundException: Member google not found in PackageRef(com). That's because makeCurrent is annotated with com.google.errorprone.annotations.MustBeClosed which is not in the classpath (pom file).

@adpi2 adpi2 added the bug Something isn't working label Nov 30, 2023
@sjrd sjrd self-assigned this Nov 30, 2023
sjrd added a commit to sjrd/tasty-query that referenced this issue Nov 30, 2023
@sjrd sjrd closed this as completed in e17c561 Nov 30, 2023
sjrd added a commit that referenced this issue Nov 30, 2023
Fix #402: Recover from annotations that are missing on the classpath.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants