Server MyEclipse Tomcat v7.0 was unable to start within 45 seconds. If the server requires more time

记录---免得以后还要回头查一下;

Server MyEclipse Tomcat v7.0 was unable to start within 45 seconds. If the server requires more time

翻译为:

MyEclipse 的tomcat不能在45秒内启动服务。服务器需要更长的时间;

那就设置成更长的时间吧 ;

start-timeout:启动超时

修改 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。 
把其中的start-timeout="45" 改为  start-timeout="300" 或者更长,根据工程大小来设置。最后重启eclipse。

注:start-timeout:启动超时时间

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<servers>
  <server DRIVER_CREATED_2="true" HOME_DIR="C:/Users/user/.myeclipse/derby" PORT="1527" derby_autostart_timeout="3000" derby_enable_autostart="true" hostname="localhost" id="com.genuitec.derby.server" id-set="true" me-disable-overview-page="true" name="MyEclipse Derby" server-type="com.genuitec.derby.server" server-type-id="com.genuitec.derby.server" single-instance="true" start-timeout="240" stop-timeout="240" timestamp="0"/>
  <server auto-publish-setting="2" auto-publish-time="1" configuration-id="/Servers/MyEclipse Tomcat v7.0-config" deployDir="wtpwebapps" has-configuration="true" hostname="localhost" id="com.genuitec.embedded.tomcat.server.v70" id-set="true" java-location="D:\MyEclipse 2016 CI\binary\com.sun.java.jdk8.win32.x86_64_1.8.0.u66" name="MyEclipse Tomcat v7.0" runtime-id="com.genuitec.embedded.tomcat.runtime.v70" server-location="D:\MyEclipse 2016 CI\plugins\com.genuitec.eclipse.server.embedded.tomcat.core_13.0.0.me201602031002\tomcat70" server-type="com.genuitec.embedded.tomcat.server.v70" server-type-id="com.genuitec.embedded.tomcat.server.v70" single-instance="true" start-timeout="350" stop-timeout="15" testEnvironment="false" timestamp="1" useAutoDeploy="true">
    <list key="modules" value0="OneMuWe::org.eclipse.jst.jee.server:OneMuWe::jst.web::3.0%%EXPLODED"/>
  </server>
</servers>

 

 

 

 

 

  • 4
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值