title: 404 the requested resource is not available on a very simple servlet
body: <p>I've been stuck with this problem the whole morning and I can't seem to understand why.</p>
  
  <p>This is my servlet. Very simple:</p>
  
  <pre><code>import java.io.IOException;
  import javax.servlet.ServletException;
  import javax.servlet.annotation.WebServlet;
  import javax.servlet.http.HttpServlet;
  import javax.servlet.http.HttpServletRequest;
  import javax.servlet.http.HttpServletResponse;
  
  /**
   * Servlet implementation class hello
   */
  @WebServlet("/hello")
  public class hello extends HttpServlet {
      private static final long serialVersionUID = 1L;
  
      /**
       * @see HttpServlet#HttpServlet()
       */
      public hello() {
          super();
          // TODO Auto-generated constructor stub
      }
  
      /**
       * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
       */
      protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
          // TODO Auto-generated method stub
          response.getWriter().write("test");
      }
  
      /**
       * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
       */
      protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
          // TODO Auto-generated method stub
          doGet(request, response);
      }
  
  }
  </code></pre>
  
  <p>When I start my tomcat server, and go to <a href="http://localhost:8080/testh/hello" rel="nofollow">http://localhost:8080/testh/hello</a> I receive the error message:
  HTTP Status 404 - /testh/hello</p>
  
  <p>Why? The server is started, and I have this specific servlet /hello running under the project "testh". I don't understand. Please help.</p>