pom.xml報錯web.xml is missing and <failOnMissingWebXml> is set to true

一、web.xml is missing and is set to true 原因是在項目中缺少web.xml,且被設置成了true 解決方法:a.如果項目需要web.xml,去複製一個web.xml到項目中即可。 也可以使用Eclipse生成:有如下兩種方式 1.右擊項目——>Java EE Tools——>Generate Deployment Descriptor Stub.然後系統會在s
相關文章
相關標籤/搜索