一、問題
Tomcat無法正常啟動,報錯:
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.

二、解決
如果沒有其他錯誤,修改配置【servers.xml】,增加超時時間即可,
1、找到eclipse的作業空間

2、然后根據路徑:
D:\jhwork\.metadata\.plugins\org.eclipse.wst.server.core
定位到組態檔【servers.xml】

3、打開【servers.xml】定位【start-timeout="45"】,修改“45”為“1000”,保存,
不用重啟eclipse,直接重啟Tomcat即可,

轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/261098.html
標籤:其他
上一篇:計算機導論-3-計算機組成部分
