我运行服务器时出现非法反射访问错误

时间:2021-04-07 11:11:03

标签: java spring tomcat

INFO: Initializing Spring root WebApplicationContext
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/C:/Users/xxxx/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/xxxxexexe/WEB-INF/lib/spring-core-4.3.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
org.springframework.beans.factory.UnsatisfiedDependencyException

从 Spring 应用程序运行我的服务器时,我收到这些错误,但我不知道为什么会发生这种情况,我在网上搜索了更多信息,但我不清楚。 我使用 Java 8 。我也在使用 Eclipse IDE

0 个答案:

没有答案
相关问题