tomcat 404 The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.


1.原因

tomcat沒有找到項目,因為是用eclipse啟動的,不是在tomcat的目錄下啟動,所以我們需要在eclipse下配置啟動目錄,好讓tomcat找到項目.

 

2.解決

用本地安裝的tomcat,並且路徑設置為tomcat的路徑就可以,這邊使用的是默認路徑.

 


免責聲明!

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



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