服务器启动超时,有可能是因为启动这个服务时,需要加载的东西太多了,这种情况就可以将启动超时设置的长一点。
做法是,将这个webProject 所在的workplace路径,如:E:\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml。找出servers.xml文件里面的 start-timeout参数
<server auto-publish-setting="2" auto-publish-time="1" configuration-id="/Servers/Tomcat v6.0 Server at localhost-config" hostname="localhost" id="Tomcat v6.0 Server at localhost" name="Tomcat v6.0 Server at localhost" runtime-id="Apache Tomcat v6.0" saveSeparateContextFiles="true" server-type="org.eclipse.jst.server.tomcat.60" server-type-id="org.eclipse.jst.server.tomcat.60" start-timeout="40" stop-timeout="15" testEnvironment="false" timestamp="31">
可以把start-timeout="40"改做80.