新版idea 自带jdk 11 导致,spring-boot 或者spring 应用启动报错。
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/home/ldl/.m2/repository/org/springframework/spring-core/5.0.8.RELEASE/spring-core-5.0.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$1
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

本文解决新版IntelliJ IDEA自带JDK11导致的spring-boot或spring应用启动错误问题,出现非法反射访问警告,建议报告给维护者并考虑使用--illegal-access=warn参数。
4503

被折叠的 条评论
为什么被折叠?



