項目已有web.xml但報錯web.xml is missing and is set to true

錯誤原因:找不到web.xml 錯誤經過:項目中已創建web.xml並且項目也使用到web.xml 錯誤解決: 1:項目右鍵--Properties--Deployment Assembly 2:   add--Folder--選擇/src/main/webapp--Finish 3:   下面  Advanced 選擇  當前 PS:網上大部是說在pom文件中將 <failOnMissingWe
相關文章
相關標籤/搜索