pom.xml報錯web.xml is missing and is set to true 解決方案

一、web.xml is missing and <failOnMissingWebXml> is set to true   原因是在項目中缺少web.xml,且<failOnMissingWebXml>被設置成了true   解決方法:a.如果項目需要web.xml,去複製一個web.xml到項目中即可。           也可以使用Eclipse生成:有如下兩種方式            
相關文章
相關標籤/搜索