问题:
本地tomcat启动超时45s报错
错误信息:
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配置文件,启动时间参数startTime
找到tomcat地址,.metadata->.plugins->org.eclipse.wst.server.core->servers.xml
我的tomcat服务器用的是myeclipse自带的,所以在工作空间中。
打开MyEclipse的工作空间
MyEclipse Workpaces->.metadata->.plugins->org.eclipse.wst.server.core->servers.xml
使用记事本打开之后修改里面的配置 start-timeout=”45” 把里面的值45修改为更大的值就可以了
我改为了450
保存,重启myeclipse就好了。