解决方法:
右击项目-----》Java EE Tools-----》Generate Deployment Descriptor Stub
会在src/main/webapp/WEB_INF(或者Deployed Resources/webapp/WEB_INF)文件加下创建web.xml文件。
错误消失!
Eclipse报错:pom.xml web.xml is missing and <fainOnMissingWebXml> is set to true
原文:https://www.cnblogs.com/51ma/p/11325326.html