1. 程式人生 > >解決Tomcat v6.0 Server at localhost was unable to start within 45 seconds

解決Tomcat v6.0 Server at localhost was unable to start within 45 seconds

editor cat 超時 seconds 出現 cfb tin sin java

eclipse 中tomcat啟動超時報錯如下:

Starting Tomcat v7.0 Server at localhost‘ has encountered a problem

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.

tomcat啟動錯誤圖片如下:

技術分享圖片

出現上述錯誤是因為eclipse中配置tomcat的 timeouts時間過短,需要把tomcat的啟動時間設置的長一些

tomcat啟動超時的設置方法如下:

1.在servers中找到如圖位置,雙擊圖片標紅的位置“tomcat v7.0 server at localhost

2.在tomcat的配置界面左邊部分周到 timeout 設置tomcat start的時間 如下圖:

技術分享圖片

解決Tomcat v6.0 Server at localhost was unable to start within 45 seconds