解决:Eclipse调试tomcat时报45秒超时
1. 修改 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" deployDir="wtpwebapps" 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="15" testEnvironment="true" timestamp="5">
????<list key="modules" value0="newkia::org.eclipse.jst.jee.server:newkia::jst.web::2.5"/>
??</server>
</servers>
把 start-timeout="45" 改为 start-timeout="1000" 或者更长
2. 重启eclipse就可以了。