Java web项目启动Tomcat报错
2021-04-07 22:26
标签:art idt jdk start 效果 ash 技术 lazy 启动
点击运行项目时显示 A Java Exception has occurred.
‘Starting Tomcat v9.0 Server at localhost‘ has oncountered a problem.
Server Tomcat v9.0 Server at localhost failed to start.
并显示以下两个弹框
同时控制台报错org.apache.catalina.startup.Bootstraporg.apache.catalina.startup.Bootstrap
在查询问题后对项目的jdk及Tomcat版本进行设置,但是没有效果
这是因为找不到bin目录下的bootstrap.jar,需要添加该jar包。
这种问题一般出现在第一次配置项目,有以下解决办法
Window——>preferences——>Java——>Installed JREs——>点击相应版本JDK——>Edit ——>Add External ARs——>检索tomcat安装目录bin下的bootstrap.jar,添加后即可解决问题。
Java web项目启动Tomcat报错
标签:art idt jdk start 效果 ash 技术 lazy 启动
原文地址:https://www.cnblogs.com/lixv2018/p/13381239.html
下一篇:使用lambda求数组和
文章标题:Java web项目启动Tomcat报错
文章链接:http://soscw.com/index.php/essay/72586.html