pom.xml报错web.xml is missing and <failOnMissingWebXml> is set to true
pom.xml报错web.xml is missing and 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...
原创
2020-01-03 10:42:38 ·
299 阅读 ·
0 评论