Eclipse throwing error - “file name references to ”main.html“ that does not exist in web content” 404 error for web.xml
问题 I am facing an issue in while running simple web project in Eclipse. I will first demonstrate the steps of creating my project :- 1) New Spring Template Project. 2) Select Spring MVC Project. 3) Click Finish. 4) Now I create a new file name "login.html" in "webapps" folder under "src" 5) Now I tried to add welcome-file tag in the web.xml. 6) When I do that I get the above Warning inside web.xml from Eclipse. 7) If I run the application I get 404 error This is my web.xml <?xml version="1.0"