eclipse 中启动Tomcat超时了错误如下:
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.
今天打开eclipse 启动项目,准备开发呢,结果出现上面的ERROR了,限定了部署的时间导致的错误。修改了eclipseworkspace\.metadata\.plugins\org.eclipse.wst.server.core 目录下的servers.xml
启动时间为1000 start-timeout="1000",切记一定要重启eclipse,这个耗了我10分钟,才搞定了,所以重启是万能的。
[html]
<server auto-publish-setting="2" auto-publish-time="1" configuration-id="/Servers/Tomcat v6.0 Server at localhost (2)-config" deployDir="wtpwebapps" hostname="localhost" id="Tomcat v6.0 Server at localhost (2)" name="Tomcat v6.0 Server at localhost (2)" runtime-id="Apache Tomcat v6.0 (2)" server-type="org.eclipse.jst.server.tomcat.60" server-type-id="org.eclipse.jst.server.tomcat.60" start-timeout="1000" stop-timeout="15" testEnvironment="true" timestamp="1">
<list key="modules" value0="MO::org.eclipse.jst.jee.server:MO::jst.web::2.5"/>
</server>
补充:综合编程 , 其他综合 ,