leftso 292 0 2021-09-15
版权申明:本文为博主原创文章,未经博主允许不得转载。 https://www.leftso.com/blog/897.html
启动Spring Boot 项目突然看到下面的警告内容
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils (file:/D:/maven_res/org/springframework/spring-core/5.2.8.RELEASE/spring-core-5.2.8.RELEASE.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
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
错误信息
我还以为怎么了,原因是idea默认使用了jdk 11,项目使用的是jdk1.8.将11调整为1.8即可
调整为8

调整后
调整完成
提示:本文最后更新于【 2021-09-15 17:30:57 】,某些文章具有时效性,若有错误或已失效,请在下方留言

评论区域