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
An illegal reflective access operation has occurred #10886
Comments
This got fixed in the master branch already. You have to wait for Play 2.9. |
Thanks @mkurz, I will be waiting then 🎉 |
Still waiting, nearly 2 years later... |
Still waiting. Blocker for updating to Java 11. |
Adding this to libraryDependencies (and leaving in guice) in build.sbt got rid of the errors.
|
Play 2.9 release candidate available now finally fixing this problem: https://github.com/playframework/playframework/releases/tag/2.9.0-RC2 |
The wait is finally over 😄 |
Play Version
2.8.8
API
Scala
JDK
Java 11
Expected Behavior
Running a basic Play project should not issue any warning
Actual Behavior
The following warning is produced at start:
Additional information
This warning starts with Java 9, it was not present in Java 8. The root cause is an issue in Guice (google/guice#1133) that is fixed in Guice 5.0.1.
However, despite the dependencies file (https://github.com/playframework/playframework/blob/master/project/Dependencies.scala) listing guice 5.0.1 since February 27th, play-guice 2.8.8 released on April 8th still pulls guice 4.2.3, as evidenced by the dependency graph below:
The text was updated successfully, but these errors were encountered: