How to fix -Djava.endorsed.dirs not supported, tha

2019-07-02 14:59发布

I used tomcat for projects before, but this problem came after installing the WTP, and occurs when I try to run the application on server.

First comes a message, could not create Java Virtual Machine, then in the console occures this one:

-Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 9.0\endorsed is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.

2条回答
太酷不给撩
2楼-- · 2019-07-02 15:15

To fix this bug, you need to install/update the Eclipse Web Tools Platform (WTP) to version 3.9.4 or later.

(Bug was reported to Eclipse here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=533162)

查看更多
3楼-- · 2019-07-02 15:18

Eclipse Oxygen.1a and newer releases contain changes to launch Tomcat properly with Java 9. You need to update your IDE.

查看更多
登录 后发表回答