解決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\.plugins\org.eclipse.wst.server.core\servers.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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM