Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds.

解决办法:

修改 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。将timeout=45修改为1000,或更长。重新启动eclipse

<?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" deployDir="wtpwebapps" 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="450" stop-timeout="15" testEnvironment="true" timestamp="3">

<list key="modules" value0="test::org.eclipse.jst.jee.server:test::jst.web::3.0"/>

</server>

</servers>

Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds._第1张图片

你可能感兴趣的:(with,start)