解决 Tomcat v7.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启动超时错误

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

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

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

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

eclipse中tomcat超时解决设置方法

来源:本站//作者:admin/更新时间:2013-12-09
相关文章
评论:
验证码:
匿名评论: