无法创建Java虚拟机,并且显示不支持endorsed。

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

Could not create Java virtual machine and it says that endorsed is not supported

问题

"-Djava.endorsed.dirs=C:\Apache\apache-tomcat-9.0.37\endorsed" 不受支持。通过可升级模块的概念,将支持模块化形式中的认可标准和独立API。

英文:

> -Djava.endorsed.dirs=C:\Apache\apache-tomcat-9.0.37\endorsed is not supported. Endorsed standards and standalone APIs in modular form will
> be supported via the concept of upgradeable modules.

答案1

得分: 4

我刚遇到了同样的问题。为了解决它,只需从“Java”选项卡下的Tomcat9属性中移除“-Djava.endorsed.dirs=C:\ ...”这一行,然后重新启动tomcat。

解决方法如下:

- 从tomcat lib文件夹中打开Tomcat9.exe
- 在Tomcat9属性窗口中选择“Java”选项卡
- 移除“-Djava.endorsed.dirs=...”这一行,然后
- 选择“常规”选项卡,点击“启动”按钮重新启动Tomcat 
英文:

I just had the same problem. To resolve it, just remove the line "-Djava.endorsed.dirs=C:..." from the Tomcat9 Properties in "Java Options" under Java Tab then
restart tomcat
无法创建Java虚拟机,并且显示不支持endorsed。

Steps to fix it follows:

-Open Tomcat9.exe from the tomcat lib folder
-From the Tomcat9 Properties screen, select the Java Tab
-Remove the line "-Djava.endorsed.dirs=..." then
-Select the General Tab and click on the Start button to Restart Tomcat 

答案2

得分: 0

另外,您可以转到打开的运行配置 -> 单击 tomcat 服务器 -> 单击参数

在 "Vm 参数" 部分移除 -Djava.endorsed.dirs 属性。

英文:

Also you can go to open run configuration -> click tomcat server -> click arguments

Under Vm arguments section remover -Djava.endrosed.dirs property

huangapple
  • 本文由 发表于 2020年8月15日 02:25:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/63418186.html
匿名

发表评论

匿名网友

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

确定