场景

在新建或者导入Maven项目后,pom.xml提示:

web.xml is missing and <failonmissingw>...

解决

在pom.xml中加入:

<properties>
<failOnMissingWebXml>false</failOnMissingWebXml>
</properties>

pom.xml中提示web.xml is missing and <failonmissingw>..._xml