Server Tomcat v8 0 Server at localhost was unable to start w

Posted skiwndhed

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Server Tomcat v8 0 Server at localhost was unable to start w相关的知识,希望对你有一定的参考价值。

Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.

问题描述:

OS:Windows 7 x64

Eclipse:

Eclipse Java EE IDE for Web Developers.
Version: Luna Service Release 2 (4.4.2)
Build id: 20150219-0600

 

Java Web项目启动调试时,提示此错误,如下图:

技术分享图片

这种情况存在两种可能,一种是项目配置有错误(可能是数据库、Redis之类的配置错误,也可能是相关的服务没有启动,防火墙之类的);

另一种是项目启动的确实比较慢,需要更长的时间,解决方法如下:

打开Server视图,双击Tomcat v8.0 Server

技术分享图片

将启动时间限制改大:

技术分享图片

按Ctrl+S保存,然后再启动调试。

 

如果将时间改的很大了,还是不能启动成功,有以下两种情况:

1、项目配置有问题,上面说过了;

2、tomcat 的 webapps 目录下还有其它的项目,导致服务启动失败了,尝试删除其它项目,再启动调试看看。

 

=============================我是分隔线=====================================

技术分享图片

再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow



以上是关于Server Tomcat v8 0 Server at localhost was unable to start w的主要内容,如果未能解决你的问题,请参考以下文章

Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server requires

Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server requires

'Starting Tomcat v8.0 Server at localhost' has encountered a problem.

Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds

Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server requires

解决“The Tomcat server configuration at ServersTomcat v8.0 Server at localhost-config is missing. Ch(示