Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds_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.

Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds_Tomcat启动超时_第1张图片

 

二、解决

如果没有其他错误,修改配置【servers.xml】,增加超时时间即可。

1、找到eclipse的工作空间

Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds_Tomcat启动超时_第2张图片

2、然后根据路径:

D:\jhwork\.metadata\.plugins\org.eclipse.wst.server.core

 定位到配置文件【servers.xml】

Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds_Tomcat启动超时_第3张图片

3、打开【servers.xml】定位【start-timeout="45"】,修改“45”为“1000”,保存。

不用重启eclipse,直接重启Tomcat即可。

Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds_Tomcat启动超时_第4张图片

 

 

你可能感兴趣的:(┉┇Love┇┉,Tomcat,tomcat)