When I tried to start the Apache Tomcat Server v9.0, I am getting this error. I am using JDK v9 and it is showing me this error while starting up the server. Not sure why this occurs in Eclipse.
Asked
Active
Viewed 312 times
0
-
2Tried to remove that `-Djava.endorsed.dirs` parameter from command line? – Selaron Feb 03 '19 at 20:57
-
Possible duplicate of [Tomcat 7.0.73 doesn't work with java 9](https://stackoverflow.com/questions/45917401/tomcat-7-0-73-doesnt-work-with-java-9) – Selaron Feb 03 '19 at 21:22
-
I tried to run the server using the eclipse itself. Not with the command line.@Selaron – Ashfaque Rifaye Feb 04 '19 at 02:40
-
The solution is still the same: remove that command line argument. – Selaron Feb 04 '19 at 06:09
-
@Selaron Where to remove the command line Bro? I usually do right click the server and do Debug or Start the server. There is no command line action involved. – Ashfaque Rifaye Feb 04 '19 at 06:10
-
1Double-Click Tomcat in Servers view and `Open Launch Configuration`. There you will find command line arguments. – Selaron Feb 04 '19 at 07:31
-
Thanks. This worked.!! – Ashfaque Rifaye Feb 04 '19 at 16:47