幫同學(xué)用Eclipse exygen 配置tomcat 9 時(shí)遇到下面問題
The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
window->preferences->web services->server and runtime -> 將server runtime 改成對(duì)應(yīng)的 tomcat 9 -> apply->finish
2.但是,由于 eclipse 本身自帶 tomcat,它會(huì)使用自身的 tomcat服務(wù)器,雙擊 服務(wù)器,修改設(shè)置如下,將服務(wù)器路徑設(shè)置為tomcat安裝目錄
image.png
注意: eclipse 默認(rèn)將項(xiàng)目部署到自己定義的路徑下,不是我們安裝的tomcat下的webapps文件夾中,可通過上述圖片上的 deploy path 修改為自己安裝的 tomcat/webapps下

