JDK从1.8.x升级到9.0.1后Tomcat 8.0.x不能启动


描述

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后,问题解决。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM