Server MyEclipse Tomcat v7.0 was unable to start within 45 seconds. If the server requires more time


启动Tomcat服务器时经常遇到这个错误,

Server MyEclipse Tomcat v7.0 was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.

原来都是重新启动tomcat就行了,后来觉得太麻烦,所以就修改一下。

错误的大致意思是:启动tomcat服务器超时,就是说你设置的启动时间是45,启动的时候超过了这个时间。

修改这个错误那么就顾名思义的将那个启动时间设置长一点就行了。


操作如下:

在工作空间下找到如下目录:

.metadata.pluginsorg.eclipse.wst.server.coreservers.xml

打开servers.xml文件如下:



可以看到其中的一个start-timeout="45"属性,这个就是 控制启动时间的,然后就就可以根据自己需要将这个启动时间修改的长一点。

原文地址:https://www.cnblogs.com/kaifaxiaoliu/p/11980143.html