【问题标题】:Could not create Java virtual machine and it says that endorsed is not supported无法创建 Java 虚拟机,它说不支持背书
【发布时间】:2020-12-04 15:52:36
【问题描述】:

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

【问题讨论】:

标签: java tomcat tomcat9


【解决方案1】:

我也遇到了同样的问题。要解决它,只需从 Java 选项卡下“Java 选项”中的 Tomcat9 属性中删除“-Djava.endorsed.dirs=C:...”行,然后 重启tomcat

修复它的步骤如下:

-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 

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-02-03
    • 1970-01-01
    • 1970-01-01
    • 2013-10-14
    • 2017-05-30
    • 1970-01-01
    • 2012-10-20
    相关资源
    最近更新 更多