-Djava.endorsed.dirs=C:\Apache\apache-tomcat-9.0.37\endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules.
-Djava.endorsed.dirs=C:\Apache\apache-tomcat-9.0.37\endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules.
I just had the same problem. To resolve it, just remove the line "-Djava.endorsed.dirs=C:..." from the Tomcat9 Properties in "Java Options" under Java Tab then
restart tomcat

Steps to fix it follows:
-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