您的位置:首页 > 运维架构 > Tomcat

eclipse中tomcat启动超时的解决方法

2017-03-03 14:06 381 查看


问题:在eclipse中启动tomcat的时候,tomcat不能启动,报如下错误: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.



解决方法1:


修改 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件(路径为咱们项目在eclipse的工作空间) 
把其中的start-timeout="45" 的时间修改长一点,根据实际加载的项目大小而定,如修改为start-timeout="600"。
然后重启eclipse就可以了。


解决方法1:

双击Eclipse中的Servers下的Tomacat服务,在弹出的Overview视图中找到Timeouts--->Start(in seconds),此处的默认值是45,把此值调大即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: