Issue
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?
Solution
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.
Answered By - Wojciechu