本问题是:本地主机上的服务器Tomcat V7.0服务器无法在45秒内启动。如果服务器需要更多的时间,请尝试在服务器编辑器中增加超时时间。
修改eclipse的工作空间D:\Work\codes\hands\.metadata\.plugins\org.eclipse.wst.server.core下的servers.xml文件:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<servers>
<server auto-publish-setting="2" auto-publish-time="1" configuration-id="/Servers/Tomcat v7.0 Server at localhost-config" hostname="localhost" id="Tomcat v7.0 Server at localhost" name="Tomcat v7.0 Server at localhost" runtime-id="Apache Tomcat v7.0" server-type="org.eclipse.jst.server.tomcat.70" server-type-id="org.eclipse.jst.server.tomcat.70" start-timeout="45" stop-timeout="15" testEnvironment="false" timestamp="5">
<list key="modules" value0="jk28_web::org.eclipse.jst.jee.server:jk28_web::jst.web::2.5"/>
</server>
</servers>
将红色值加大到1000.