-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Gradle 7.0 has problems with annotation processors and java 16 #16641
Comments
full stack trace
|
Are you sure you did use 7.0-RC-1 and not 7.0-M1? The above issue should have been fixed in M2 and later. I've quickly played around with the project and can't reproduce it with
to reproduce. |
hmm maybe I ran it with the wrapper which was still at 6.8.. sorry for the noise |
No problem, glad it's not a problem anymore :) |
You need to down your SDK version. I down to openjdk 15.0.2 2021-01-19. It's run well |
1 similar comment
You need to down your SDK version. I down to openjdk 15.0.2 2021-01-19. It's run well |
I have the same problem with the official release. I solved it by downgrading the SDK version, but it should be not required since getting old versions from the official Java website requires to login there while the last one does not need it. |
When building a Micronaut application with Gradle 7.0 it fails with java.lang.IllegalAccessError
Expected Behavior
Should compile
Current Behavior
Fails with
Steps to Reproduce
Try compile https://github.com/graemerocher/micronaut-hol-example with Gradle 7 rc1 and java 16
Your Environment
The text was updated successfully, but these errors were encountered: