关于启动Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds的解决方案

修改 workspace\.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 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" server-type="org.eclipse.jst.server.tomcat.60" 
server-type-id="org.eclipse.jst.server.tomcat.60" start-timeout="1000" stop-timeout="1500" 
testEnvironment="false" timestamp="1"/>
</servers>

把 start-timeout="45" 改为 start-timeout="1000" 或者更长 重启eclipse就可以了。


你可能感兴趣的:(apache,tomcat,server,解决方案,Timestamp)