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

posted @ 2017-11-23 15:34  我是一个豆笔  阅读(2339)  评论(0编辑  收藏  举报