title: Http status 404 not found error in eclipse
body: <p>I used eclipse and tomcat and created a dynamic web project following this tutorial:</p>
  
  <p><a href="https://o7planning.org/en/10169/java-servlet-tutorial" rel="nofollow noreferrer">https://o7planning.org/en/10169/java-servlet-tutorial</a></p>
  
  <p>I followed all the steps until running the code for the first time to display 'Hello, World!' on a webpage, but it gave the following error. I have added index.html properly.</p>
  
  <p>What could be the issue? Yesterday I created another dynamic project in the same workspace that the simple project was run it, but it's not working either. Could it be a port issue?</p>
  
  <p>HTTP Status 404 – Not Found</p>
  
  <p>Type Status Report</p>
  
  <p>Message /ServletFirstTutorial/</p>
  
  <p>Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.</p>
  
  <p>Apache Tomcat/9.0.14</p>
  
  <pre><code>web.xml
  
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns="http://java.sun.com/xml/ns/javaee"
     xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
     id="WebApp_ID" version="3.0"&gt;
     &lt;display-name&gt;ServletFirstTutorial&lt;/display-name&gt;
  
  
  
  
  
     &lt;welcome-file-list&gt;
         &lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
         &lt;welcome-file&gt;index.htm&lt;/welcome-file&gt;
         &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
         &lt;welcome-file&gt;default.html&lt;/welcome-file&gt;
         &lt;welcome-file&gt;default.htm&lt;/welcome-file&gt;
         &lt;welcome-file&gt;default.jsp&lt;/welcome-file&gt;
     &lt;/welcome-file-list&gt;
  
  
  &lt;/web-app&gt;
  </code></pre>