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

来源:互联网 发布:java http代理服务器 编辑:程序博客网 时间:2024/05/22 10:25


启动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\.plugins\org.eclipse.wst.server.core\servers.xml

打开servers.xml文件如下:



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

阅读全文
0 0
原创粉丝点击