您的位置:首页 > 运维架构 > Tomcat

springBoot: 启动Tomcat失败

2020-01-12 17:09 281 查看

Problem1:

SpringBoot启动Tomcat失败:[StandardEngine[Tomcat].StandardHost[localhost]

Solution:

原因是挂了SSR,ip地址跳转到了境外的原因!

解决方案:

进入Tomcat的目录,“手动启动” 之后再 “手动关闭” Tomcat服务器。
之后cmd,ping localhost ,如果成功则说明SSR已彻底关闭可使用!

修正: 观察ActiveMQ和redis命令行的状态,如有异常,关闭重启即可!

Problem2:

启动Tomcat报错:
java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load []. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.

Solution2:

在IDE中关闭Tomcat后,有些线程还未被杀死,所以,需要手动关闭/重启Tomcat!
  • 点赞
  • 收藏
  • 分享
  • 文章举报
RaySunWHUT 发布了48 篇原创文章 · 获赞 3 · 访问量 2479 私信 关注
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: