Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Endorsed Directories Not Supported. Tomcat 9 Java 11(Tomcat will not start via Eclipse due to endorsed directories error)
Endorsed Directories Not Supported. Tomcat 9 Java 11 [message #1800218] Fri, 21 December 2018 13:30 Go to next message
E Z is currently offline E ZFriend
Messages: 8
Registered: July 2009
Junior Member
I just upgraded my dev environment and am receiving the following error when Tomcat 9 tries to start.

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


I've done some research and it appears installing Eclipse's WTP 3.9.4 is supposed to fix it for Oxygen.

Even though I'm running a later version of eclipse, I installed Eclipse WTP 3.9.4 and still have the problem. I also tried the pre-configured site for WTP in Eclipse 4.9.0 without luck.

Tomcat 9 starts fine from the command line with a "catalina run" but not via Eclipse.

I can confirm this bug still exists in Eclipse 2018-09 (4.9.0) with Java 11.0.1 and Tomcat 9.0.14.

Any ideas?
Re: Endorsed Directories Not Supported. Tomcat 9 Java 11 [message #1800222 is a reply to message #1800218] Fri, 21 December 2018 14:08 Go to previous messageGo to next message
E Z is currently offline E ZFriend
Messages: 8
Registered: July 2009
Junior Member
Solved.

I had to remove the -Djava.endorsed.dirs=C:\Dev\apache-tomcat-9.0.14\endorsed option from the Debug configuration for the server in Eclipse. After removing that the server started fine.

[Updated on: Fri, 21 December 2018 14:09]

Report message to a moderator

Re: Endorsed Directories Not Supported. Tomcat 9 Java 11 [message #1829212 is a reply to message #1800222] Sun, 28 June 2020 09:37 Go to previous message
Ruchira Vaykole is currently offline Ruchira VaykoleFriend
Messages: 1
Registered: June 2020
Junior Member
how to remove -Djava.endorsed.dirs=C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.0\endorsed option from the Debug configuration for the server in Eclipse?
Previous Topic:jtable
Next Topic:Generate Javadoc... does not document abstract classes
Goto Forum:
  


Current Time: Wed Oct 21 11:23:48 GMT 2020

Powered by FUDForum. Page generated in 0.01823 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top