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

huangapple go评论102阅读模式
英文:

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

问题

在Eclipse中,我在运行项目时遇到了这个错误:

Java HotSpot(TM) 64-Bit Server VM 警告:选项 -Xverify:none 和 -noverify 在 JDK 13 中已被弃用,可能会在将来的版本中被移除。

我在安装了JDK 14之后开始遇到这个错误。

英文:

In Eclipse, I got this error running my project:

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.

Error Screenshot

I started getting this error after installing JDK 14.

答案1

得分: 1

如注释中所指出,您收到了一个警告和一个错误。

警告:

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

您可以通过禁用应用程序的“快速启动”复选框来解决此问题。有关详情,请参见此答案

错误:

错误:找不到或加载主类 com.cgs.stestweb.SpringBootBasicsApplication
原因:java.lang.ClassNotFoundException: com.cgs.stestweb.SpringBootBasicsApplication

要解决这个问题,您需要纠正您的配置。

英文:

As noted in comments, you've got a warning and an error.

Warning:

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

This can be addressed by disabling the application's "Fast startup" checkbox. See this answer for details.

Error:

Error: Could not find or load main class com.cgs.stestweb.SpringBootBasicsApplication
Caused by: java.lang.ClassNotFoundException: com.cgs.stestweb.SpringBootBasicsApplication

To address this, you will need to correct your configuration.

huangapple
  • 本文由 发表于 2020年9月2日 05:34:58
  • 转载请务必保留本文链接:https://go.coder-hub.com/63695753.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定