博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Spring 5.0.5 在 jdk9 环境下启动警告
阅读量:7003 次
发布时间:2019-06-27

本文共 1548 字,大约阅读时间需要 5 分钟。

hot3.png

现象

启动时报警告

.   ____          _            __ _ _ /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/  ___)| |_)| | | | | || (_| |  ) ) ) )  '  |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot ::        (v2.0.1.RELEASE)2018-04-10 17:30:34.768  INFO 28600 --- [  restartedMain] com.ghca.unicom.tianjin.AppStarter       : 2018-04-10 17:30:34.771  INFO 28600 --- [  restartedMain] com.ghca.unicom.tianjin.AppStarter       : No active profile set, falling back to default profiles: default2018-04-10 17:30:34.939  INFO 28600 --- [  restartedMain] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@24a23b0d: startup date [Tue Apr 10 17:30:34 CST 2018]; root of context hierarchyWARNING: An illegal reflective access operation has occurredWARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/home/xxx/.m2/repository/org/springframework/spring-core/5.0.5.RELEASE/spring-core-5.0.5.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$1WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operationsWARNING: All illegal access operations will be denied in a future release

原因:

见 Spring Framework/SPR-15859:

转载于:https://my.oschina.net/CasparLi/blog/1793416

你可能感兴趣的文章