idea使用tomcat部署web項目,訪問404解決方案

1、首先,右擊項目,點擊 open module settings 2、配置 project,主要是本地 jdk 的安裝路徑,還有項目編譯輸出的路徑 3、配置 modules ,其中 paths 定位到 web-inf/classes ;dependencies 加入jdk和項目 web-inf/lib 4、配置 libraries ,點擊 + 號,選擇 java ,然後還是選擇你項目的 web-
相關文章
相關標籤/搜索