title: 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
body: <p>I was following the tutorial on <strong>o7planning</strong> and got stuck at step 6:</p>
  <p><a href="http://o7planning.org/en/10169/java-servlet-tutorial" rel="noreferrer">http://o7planning.org/en/10169/java-servlet-tutorial</a></p>
  <p>It's just a simple project that show <em>HelloWorld</em> but for some reason I keep getting <code>404</code> error. Detail:</p>
  <p><a href="https://i.stack.imgur.com/ASMwv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ASMwv.png" alt="enter image description here" /></a>
  However the Tomcat welcome page showing properly.</p>
  <p><a href="https://i.stack.imgur.com/ybGTj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ybGTj.png" alt="Tomcat welcome page" /></a></p>
  <p>Here solutions that I've tried so far (and they are NOT working):</p>
  <blockquote>
  <p>Right-click project -&gt; properties -&gt; Project Facets -&gt; Runtimes -&gt; checked &quot;Apache Tomcat v9.0&quot; -&gt; Apply -&gt; finish.</p>
  <p>Server tab -&gt; Right-click &quot;Tomcat v9.0...&quot; -&gt; properties -&gt; switch location -&gt; Choose &quot;Use tomcat installation&quot; on &quot;Server locations&quot; panel.</p>
  </blockquote>