web.xml is missing and <failOnMissingWebXml> is set to true
问题 Consider: When I create a simple Maven project in Eclipse I am getting this error: web.xml is missing and <failOnMissingWebXml> is set to true How can I fix this problem? 回答1: You can do it also like this: Right click on Deployment Descriptor in Project Explorer . Select Generate Deployment Descriptor Stub . It will generate WEB-INF folder in src/main/webapp and an web.xml in it. 回答2: This is a maven error. It says that it is expecting a web.xml file in your project because it is a web