解決status:404,The origin server did not find a current representation for the target resource...

今天在用eclipse寫servlet時在eclipse部署tomcat中運行出現404的狀態 解決方法: 1、先把下圖中用過tomcat的項目右鍵Remove掉 2、然後,雙擊tomcat 3、進入如下界面,默認Server Locations勾選的第一個選項,給他改成勾選第二個選項,如果選項還是灰色的不能操作就右鍵tomcat,再次clean一下就可以了。勾選完保存重啓就好啦。
相關文章
相關標籤/搜索