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.
I've got the same error in Eclipse running Tomcat 9 on JDK 13. I just removed the -Djava.endorsed.dirs=C:\....
from the VM arguments then restart Tomcat again.
Click on the Open Launch Configuration link from the Overview window
Then remove the -Djava.endorsed
line
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With