在用eclipse开发项目 用tomcat发布项目的时候 会提示超时,
Server Tomcat v7.0 Server at localhost wasunable to start within 45 seconds. If the server requires more time, tryincreasing the timeout in the server editor.
解决方案:
1、在eclipse菜单-》window->PReferencs里找到server 中最下面一项:server timeout delay 设置成
Unlimited 即可!但是eclipse 3.6,3.7中没有找到这一选项。
2、修改workspace/.metadata/.plugins/org.eclipse.wst.server.core/servers.xml文件。
设置start-timeout为1000或者更长,默认值是45,之后重启eclipse即可
新闻热点
疑难解答