Eclipse下Tomcat启动超时报错

来源:互联网 发布:ubuntu win7双系统安装 编辑:程序博客网 时间:2024/06/06 02:17

提示框详情是这样滴!

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.



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

解决办法如下:

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

2.在tomcat的配置界面左边部分找到 timeouts 设置tomcat start的时间(不够的情况下继续加) 如下图:


OK啦!
原创粉丝点击