springBoot: 启动Tomcat失败

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!
发布了54 篇原创文章 · 获赞 4 · 访问量 3588

猜你喜欢

转载自blog.csdn.net/qq_40994260/article/details/102990604