解决Tomcat v6.0 Server at localhost was unable to start within 45 seconds

Posted 溪山晴雪

tags:

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

eclipse 中tomcat启动超时报错如下:

Starting Tomcat v7.0 Server at localhost‘ has encountered a problem

Server Tomcat v7.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.

tomcat启动错误图片如下:

技术分享图片

出现上述错误是因为eclipse中配置tomcat的 timeouts时间过短,需要把tomcat的启动时间设置的长一些

tomcat启动超时的设置方法如下:

1.在servers中找到如图位置,双击图片标红的位置“tomcat v7.0 server at localhost

2.在tomcat的配置界面左边部分周到 timeout 设置tomcat start的时间 如下图:

技术分享图片

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