读书人

Tomcat起步报错

发布时间: 2013-10-08 15:13:37 作者: rapoo

Tomcat启动报错
Q: Tomcat v6.0 启动错误信息

Server Tomcat v6.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.




A: 在部署的时候出现Server Tomcat v6.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.


也就是我们限定了部署的时间导致的错误,经过在网上的查找,找到了以下的解决方案:

我们找到当前工程的workplace目录,然后按下面的操作:

找到 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml 文件。



把 其中的start-timeout="45" 改为 start-timeout="100" 或者更长,根据不同的工程大小来设置。
最后重启eclipse就可以了。




读书人网 >软件架构设计

热点推荐