首页 > 代码库 > was unable to start within 45 seconds. If the server requires more time, try increasing the timeout
was unable to start within 45 seconds. If the server requires more time, try increasing the timeout
在eclipse启动tomcat时遇到超时45秒的问题:
Server Tomcat v7.0 Server at localhost was unable to startwithin 45 seconds. If the server requires more time, try increasingthe timeout in the server editor.
网上解决办法。
1.在 eclipse菜单-》window->preferencs里找到server 中最下面一项:servertimeout delay 设置成 Unlimited 即可!
但是eclipse 3.6,3.7中没有找到这一选项。
2.修改workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。
<fontcolor="ed1c24">start-timeout="1000"</font> stop-timeout="15" testEnvironment="true"timestamp="5"></div><div> <list key="modules"value0="newkia::org.eclipse.jst.jee.server:newkia::jst.web::2.5"/></div><div>
把 start-timeout="45" 改为 start-timeout="200" 或者更长
记得要重启eclipse
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。