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生成:有如下两种方式            
相关文章
相关标签/搜索