zoukankan      html  css  js  c++  java
  • 解决Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds.问题

    在eclipse启动tomcat时遇到超时45秒的问题: 

    Server Tomcat v7.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. 

    网上解决办法。

     
    1.在 eclipse菜单-》window->preferencs里找到server 中最下面一项:server timeout delay 设置成 Unlimited 即可!
    但是eclipse 3.6,3.7中没有找到这一选项。
     
    2.修改 workspace.metadata.pluginsorg.eclipse.wst.server.coreservers.xml文件。
      <font color="ed1c24">start-timeout="1000"</font> stop-timeout="15" testEnvironment="true" timestamp="5"></div> <div>    <list key="modules" value0="newkia::org.eclipse.jst.jee.server:newkia::jst.web::2.5"/></div> <div>  


    把 start-timeout="45" 改为 start-timeout="200" 或者更长


    记得要重启eclipse

    详解请见:https://blog.csdn.net/qq_20545159/article/details/47168629

  • 相关阅读:
    第一部分 android display(sufaceflinger & overlay)
    UML类图关系大全
    第二部分 MediaPlayer的接口与架构
    Climbing Stairs
    Add Binary
    Plus One
    Unique Paths
    Length of Last Word
    Count and Say
    Valid Sudoku
  • 原文地址:https://www.cnblogs.com/gjfbk/p/9039786.html
Copyright © 2011-2022 走看看