Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/26.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 HotSpot(TM)64位服务器VM警告选项-Xverify:none和-noverify在JDK 13中已被弃用,并可能在将来的版本中删除_Java_Eclipse_Jvm Hotspot - Fatal编程技术网

Java HotSpot(TM)64位服务器VM警告选项-Xverify:none和-noverify在JDK 13中已被弃用,并可能在将来的版本中删除

Java HotSpot(TM)64位服务器VM警告选项-Xverify:none和-noverify在JDK 13中已被弃用,并可能在将来的版本中删除,java,eclipse,jvm-hotspot,Java,Eclipse,Jvm Hotspot,在Eclipse中,我在运行项目时遇到以下错误: Java HotSpot(TM) 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release. 安装JDK 14后,我开始出现此错误。如评论中所述,您得到了警告和错误 警告: OpenJDK 64-Bit Server VM warni

在Eclipse中,我在运行项目时遇到以下错误:

Java HotSpot(TM) 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.


安装JDK 14后,我开始出现此错误。

如评论中所述,您得到了警告和错误

警告:

OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release
Error: Could not find or load main class com.cgs.stestweb.SpringBootBasicsApplication
Caused by: java.lang.ClassNotFoundException: com.cgs.stestweb.SpringBootBasicsApplication
这可以通过禁用应用程序的“快速启动”复选框来解决。有关详细信息,请参阅

错误:

OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release
Error: Could not find or load main class com.cgs.stestweb.SpringBootBasicsApplication
Caused by: java.lang.ClassNotFoundException: com.cgs.stestweb.SpringBootBasicsApplication

要解决此问题,您需要更正您的配置。

-Xverify:none
/
-noverify
选项是危险的。当字节码验证关闭时,JVM容易受到无效字节码的攻击,并且很容易崩溃,例如。该消息警告说,自JDK 13以来,这些选项已被弃用。只需从JVM命令行中删除它们。@apangin这应该是一个答案,而不是注释。我没有使用-Xverify:none或-noverify,我在运行eclipse时出现了此错误,我最近用JDK14安装了eclipse版本:2020-06(4.16.0),我在运行项目时出现了此错误。您得到了警告和错误。它们只是印在彼此下面。巧合并不意味着因果关系。应用程序未运行,因为未找到主类。但是,对于这两个问题,您必须检查并修复运行配置。这是否回答了您的问题?