Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/394.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 我在eclipse中第一次运行spring启动应用程序时收到错误警告。我正在使用JDK14_Java_Spring_Maven - Fatal编程技术网

Java 我在eclipse中第一次运行spring启动应用程序时收到错误警告。我正在使用JDK14

Java 我在eclipse中第一次运行spring启动应用程序时收到错误警告。我正在使用JDK14,java,spring,maven,Java,Spring,Maven,这可能是Java环境/版本的问题。请尝试卸载JDK并安装最新版本。您使用的是哪个版本的Spring?Spring版本为1.4.0。请根据以下内容发布副本:“[…]使用Spring Boot 2.3或更高版本。[…]旧版本的Spring Boot尚不支持Java 14运行时。”您应该使用Spring Boot 2.3。SpringBoot1.4不支持JDK14。是的,它现在工作正常。谢谢@Thomas Klager WARNING: An illegal reflective access ope

这可能是Java环境/版本的问题。请尝试卸载JDK并安装最新版本。

您使用的是哪个版本的Spring?Spring版本为1.4.0。请根据以下内容发布副本:“[…]使用Spring Boot 2.3或更高版本。[…]旧版本的Spring Boot尚不支持Java 14运行时。”您应该使用Spring Boot 2.3。SpringBoot1.4不支持JDK14。是的,它现在工作正常。谢谢@Thomas Klager
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/C:/Users/Sandeep%20Rawat/.m2/repository/org/springframework/spring-core/4.3.2.RELEASE/spring-core-4.3.2.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