欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Eclipse 下启动 tomcat报错启动超时 tomcattimeout45 

程序员文章站 2022-07-13 10:31:11
...

Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If the server requires

 

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 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="45" stop-timeout="15" testEnvironment="true" timestamp="7">

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

  </server>

</servers>

 

改为

 

<?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="345" stop-timeout="45" testEnvironment="true" timestamp="7">

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

  </server>

</servers>

 

 

相关标签: tomcat timeout 45