Tomcat 404 error: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists


Problem solved, I've not added the index.html. Which is point out in the web.xml

Update: enter image description here

More update: a project may have more than one "web.xml" file.

if there are another "web.xml" in


Then you might need to add another index (this time index.jsp) to


Hope this helps. From eclipse, you right click the project -> Run As -> Run on Server and then it worked for me. I used Eclipse Jee Neon and Apache Tomcat 9.0. :)


 ? Joomla Server unable to read htaccess file, denying access to be safe
 ? 404 Error - Jenkins not running but Tomcat is
 ? Error: GET 404 (Not found) error for images, but the images are showing up fine
 ? Continuing a BASH script after error
 ? 404 when accessing resource Flask-Restful
 ? Page timing out with 404 error when script runs longer than 120 seconds
 ? Getting 404 error when submitting a form
 ? JSP in /WEB-INF returns "HTTP Status 404 The requested resource is not available"
 ? Tomcat started in Eclipse but unable to connect to http://localhost:8085/
 ? Why is @font-face throwing a 404 error on woff files?