-
Notifications
You must be signed in to change notification settings - Fork 37.7k
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
Illegal reflective access by org.springframework.cglib.core.ReflectUtils - spring-core-5.2.5.RELEASE.jar #24922
Comments
Stack Trace: |
similar issue |
Same error, but related to Futures. (Java 1.11.0 OpenJDK AMD6, spring-core-5.2.5.RELEASE) defineClass:501, ReflectUtils (org.springframework.cglib.core)
|
I also lived up to my mind, and as I was creating a new project today, a warning came to my attention and I found it. In conclusion, this warning relates to the Java Platform Module System (JPMS), a jigsaw project, added since Java 9. This feature has led to a stricter security management from inside Java, and ReflectUtils uses a feature not to be used in Java, which causes a warning. Currently, if you use Java9 or higher, you have to put --add-opens java.base/java.lang=ALL-UNNAMED when you run the JVM. |
Similar issue in Spring 5.2.9 when using an
|
Duplicate #22674 |
.m2/repository/org/springframework/spring-core/5.2.5.RELEASE/spring-core-5.2.5.RELEASE.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
started to appear when using Spring HATEOAS - linkTo(methodOn(Some.class))
The text was updated successfully, but these errors were encountered: