You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access using Lookup on org.springframework.cglib.core.ReflectUtils (file:/home/user/.m2/repository/org/springframework/spring-core/5.1.4.RELEASE/spring-core-5.1.4.RELEASE.jar) to class java.lang.Object
WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
You should read the linked comment @bclozel mentioned, #22674 (comment) . If you have a Spring Boot application and have enabled devtools using an optional dependency:
Then running the application while in development (mvn spring-boot:run or through the IDE) will cause this dependency to be on the classpath and you will see this warning, however when you build a JAR/WAR for production, this dependency is not pulled in and so you won't see this warning in production.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access using Lookup on org.springframework.cglib.core.ReflectUtils (file:/home/user/.m2/repository/org/springframework/spring-core/5.1.4.RELEASE/spring-core-5.1.4.RELEASE.jar) to class java.lang.Object
WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Spring boot : 2.1.2
java : OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.5+10)
The text was updated successfully, but these errors were encountered: