WARNING: An illegal reflective access operation has occurred
Posted 谦谦均
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了WARNING: An illegal reflective access operation has occurred相关的知识,希望对你有一定的参考价值。
今天运行springcloud项目的时候控制台出了几个警告信息,如下所示:
警告信息代码:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils (file:/C:/Users/asus/.m2/repository/org/springframework/spring-core/5.1.6.RELEASE/spring-core-5.1.6.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
百度一下发现是因为自己jdk版本过高的原因,但是不影响程序的运行。如果看不习惯可以把jdk版本改成1.8.
以上是关于WARNING: An illegal reflective access operation has occurred的主要内容,如果未能解决你的问题,请参考以下文章
Android NDK JNI WARNING: illegal start byte 0x
电脑开机出现the NTVDM CPU has encountered an illegal instruction 求高手解决
Check failed: error == cudaSuccess (77 vs. 0) an illegal memory access was encountered
error C2275: 'SOCKET' : illegal use of this type as an expression
报错c(179) : error C2275: 'LNODE' : illegal use of this type as an expression等,哪里错了,怎么改呢