转自:http://stackoverflow.com/questions/31835033/web-xml-is-missing-and-failonmissingwebxml-is-set-to-true
使用maven创建web项目时,可能会出现如下错误:
web.xml is missing and <failOnMissingWebXml> is set to true
web.xml is missing and <failOnMissingWebXml> is set to true
Project Explorer
中的Deployment Descriptor
Generate Deployment Descriptor Stub
src/main/webapp/WEB_INF/web.xml
文件了。