描述
JDK在今年9月發布后,我們項目也打算測試升級使用JDK 9。在我將JDK升級成 JDK 9.0.1后,啟動tomcat失敗(黑框一閃就沒了)。具體失敗信息如下:
-Djava.emdorsed.dirs=E:\tools\apache-tomcat-8.0.38\emdorsed is not supported.Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error:Could not create the Java Virtual Machine.
Error:A fatal exception has occurred.Program will exit.
具體環境情況
JDK 1.8.112 --> JDK 9.0.1
Tomcat 8.0.38
處理辦法
我把tomcat的版本換成最新穩定版8.5.23后,問題解決。
