SpringMvc項目啓動出現404問題The origin server did not find a current representation for the target...

今天再回頭學springmvc時,配置了tomcat啓動項目出現404的問題,下面 詳細說下尋找錯誤的過程並解決。 檢查tomcat配置是否有問題 我的沒有問題。 然後檢查項目搭建是否有問題 1、新建一個Moudle , springmvc-02-hello , 添加web的支持! 2、確定導入了SpringMVC 的依賴! 3、配置web.xml , 註冊DispatcherServlet 4、
相關文章
相關標籤/搜索