Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1

后端 未结 5 1484
感情败类
感情败类 2020-12-12 19:14

My JDK 9+181 Spring Boot 2.0.0.BUILD-SNAPSHOT CLI application displays this warning on startup:

WARNING: An illegal reflective access operation has occurred
         


        
5条回答
  •  北荒
    北荒 (楼主)
    2020-12-12 19:48

    When using the spring initializer, make sure you use the latest version of Spring Boot. It automatically gets Spring core 5.1 or greater for you and you won't see the error when you run the project.

    So you don't have to worry about editing any JVM configuration.

提交回复
热议问题