bootRun An illegal reflective access operation has occurred

jmix

Is there something i have to do about this. The application is running very slow …

  • Illegal reflective access by org.springframework.cglib.core.ReflectUtils (file:/C:/Users/theCat/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.3.10/4e0b94b1e2d7a7399ecedef03dd676c34133625e/spring-core-5.3.10.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
  • Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils
  • Use --illegal-access=warn to enable warnings of further illegal reflective access operations
  • All illegal access operations will be denied in a future release

Hi,
This is just a warning about a functionality which will become unavailable in one of next Java releases. It doesn’t mean anything bad for your application right now, especially in terms of performance.
You can learn more in the internet, e.g. here: java - What is an illegal reflective access? - Stack Overflow

1 Like