pom.xml报错web.xml is missing and <failOnMissingWebXml> is set to true 解决方案
一、web.xml is missing and <failOnMissingWebXml> is set to true
原因是在项目中缺少web.xml,且<failOnMissingWebXml>被设置成了true
解决方法:a.如果项目需要web.xml,去复制一个web.xml到项目中即可。
也可以使用Eclipse生成:有如下两...
转载
2019-10-12 00:50:10 ·
128 阅读 ·
0 评论