Consider:
When I create a simple Maven project in Eclipse I am getting this error:
web.xml is missing and
If you use Spring Tool Suite, option for Generate Deployment Descriptor Stub is moved under Java EE Tools, so you:
This will create web.xml file inside src/main/webapp/WEB-INF/ folder, and of course remove error from Maven's pom.xml file.