问题说明:pom.xml 报错:web.xml is missing and <failOnMissingWebXml> is set to true;
解决方法:在pom.xml中加入下面代码就不报错了。但web.xml还是没有生成:如果还是要生成web.xml文件
1 <build> 2 <plugins> 3 <plugin> 4 <groupId>org.apache.maven.plugins</groupId> 5 <artifactId>maven-war-plugin</artifactId> 6 <version>2.6</version> 7 <configuration> 8 <failOnMissingWebXml>false</failOnMissingWebXml> 9 </configuration> 10 </plugin> 11 </plugins> 12 </build>
标签:xml,web,set,missing,报错,true From: https://www.cnblogs.com/lixiuming521125/p/17146425.html