带有Eclipse Oxygen的JDK10在Tomcat9 Start上给出了Djava.endorsed错误

时间:2018-07-19 02:28:42

标签: java eclipse

我安装了eclipse IDE oxygen最新版本,并下载了最新的JDK 10并进行了设置。 我确实安装了最新的WTP 3.4,并创建了一个简单的Maven项目。 Tomcat是9.0.10,尝试在eclipse(oxygen)中启动服务器时出现问题。它给出以下错误:-

-Djava.endorsed.dirs=<path>\endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules. Java Virtual Machine Launcher Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.

我确实确认我的氧气和WTP是最新的,并且我不想回退到Photon使其工作或降解我的JDK。

对于相同的错误也有类似的问题,但是它们要么是旧的jdk(9),要么是提出不同的建议(降级jdk等)或升级Eclipse,wtp等解决了它们。但是我的却没有得到回答,因此是这个问题。

是的,如下表所示,Tomcat9似乎支持JDK10: enter image description here

0 个答案:

没有答案
相关问题