1. 程式人生 > >\webapps\xxxx does not exist or is not a readable directory

\webapps\xxxx does not exist or is not a readable directory

Tomcat啟動專案就報錯
java.lang.IllegalArgumentException: Document base D:\apache-tomcat-7.0.61\webapps\xxxx does not exist or is not a readable directory
大多兩步搞定!!!
1.雙擊tomcat服務,進入下面介面
這裡寫圖片描述
紅色選項不要打鉤
2.在tomcat 裡找到~\conf\Catalina\localhost 目錄下有個XXXX.xml檔案 ,刪除xxxx.xml檔案重啟tomcat