原因:没有找到目录下的webxml
解决办法:在pom.xml中加入
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<failOnMissingwebxml>false</failOnMissingwebxml>
</configuration>
</plugin>
即可解决
failOnMissingwebxml爆红不影响打包