英文:
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.
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论