• Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds


    tomcat超时解问题

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

    错误:Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds

    错误提示就是我们限定了部署的时间导致的错误。
    改动 workspace.metadata.pluginsorg.eclipse.wst.server.coreservers.xml文件。 
    把当中的start-timeout="45" 改为  start-timeout="100" 或者更长。依据不同同学的project大小来设置。
    最后重新启动eclipse就能够了。

    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="1000" 或者更长


    记得要重新启动eclipse

  • 相关阅读:
    java+selenium自动化-IE浏览器搭建自动化环境
    python中的opencv
    随机森林参数说明
    剑指offer
    Python中常用的包--sklearn
    Anaconda安装,jupyter notebook 使用说明
    C++中的Public 、Private、Protected 区别
    C++类中的Static关键字二
    C++类中的Static关键字
    c语言二级指针内存模型
  • 原文地址:https://www.cnblogs.com/jhcelue/p/7073937.html
Copyright © 2020-2023  润新知