13719654321 发表于 2017-2-2 12:04:31

tomcat加载工程报启动超时错误解决

错误信息
Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor

解决方案
eclipse空间地址+ \.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 (3)"
saveSeparateContextFiles="false" server-type="org.eclipse.jst.server.tomcat.60"
server-type-id="org.eclipse.jst.server.tomcat.60" start-timeout="45" stop-timeout="15" testEnvironment="false" timestamp="83">
    <list key="modules" value0="adlib::org.eclipse.jst.j2ee.server:adlib::jst.web::2.4"/>
</server>
</servers>

修改 start-timeout="1000" 或更大,默认为45
页: [1]
查看完整版本: tomcat加载工程报启动超时错误解决