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

后端 未结 5 1477
感情败类
感情败类 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:40

    This also happened to me on JDK 11 and Spring Boot 2.2.1 (Spring Core 5.2.1).

    What helped was removing the dependency to org.springframework.boot:spring-boot-devtools, as suggested in some comments to Spring Framework issue #22814.

提交回复
热议问题