title: No mapping found for HTTP request with URI.... in DispatcherServlet with name
body: <p>I checked out nearly every relevant article on stackoverflow already, but I just cant fix my problem.</p>
  
  <p>Here is the code:
  web.xml:</p>
  
  <pre><code>   &lt;display-name&gt;Spring3MVC&lt;/display-name&gt;
      &lt;welcome-file-list&gt;
          &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
      &lt;/welcome-file-list&gt;
      &lt;context-param&gt;
          &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt; 
          &lt;param-value&gt;/WEB-INF/spring-servlet.xml&lt;/param-value&gt; 
      &lt;/context-param&gt; 
      &lt;listener&gt; 
          &lt;listener-class&gt; org.springframework.web.context.ContextLoaderListener &lt;/listener-class&gt; 
      &lt;/listener&gt;
      &lt;servlet&gt;
          &lt;servlet-name&gt;spring&lt;/servlet-name&gt;
          &lt;servlet-class&gt;
              org.springframework.web.servlet.DispatcherServlet
          &lt;/servlet-class&gt;
          &lt;load-on-startup&gt;2&lt;/load-on-startup&gt;
      &lt;/servlet&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;spring&lt;/servlet-name&gt;
          &lt;url-pattern&gt;*.html&lt;/url-pattern&gt;
          &lt;url-pattern&gt;/&lt;/url-pattern&gt;
          &lt;url-pattern&gt;*.htm&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>spring-servlet.xml:</p>
  
  <pre><code>&lt;context:component-scan base-package="com.mycompany.elso" /&gt;
      &lt;bean class="org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping"/&gt;   
  
      &lt;bean id="viewResolver"
          class="org.springframework.web.servlet.view.UrlBasedViewResolver"&gt;
          &lt;property name="viewClass"
              value="org.springframework.web.servlet.view.JstlView" /&gt;
          &lt;property name="prefix" value="/WEB-INF/jsp/" /&gt;
          &lt;property name="suffix" value=".jsp" /&gt;
      &lt;/bean&gt;
  </code></pre>
  
  <p>myController:</p>
  
  <pre><code>public class myController {
      @RequestMapping("/hello")
      public ModelAndView helloWorld() {
  
          String message = "Hello World, Spring 3.0!";
          return new ModelAndView("hello", "message", message); 
      }
  }
  </code></pre>
  
  <p>Web Pages/index.jsp:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Spring 3.0 MVC Series&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;a href="hello.html"&gt;Say Hello&lt;/a&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Web Pages/WEB-INF/jsp/hello.jsp:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Spring 3.0 MVC Series: Hello World - ViralPatel.net&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      ${message}
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>So when i launch the appication the index.jsp is loaded correctly but when i click on the href to navigate to hello.jsp i got a 404 error and the server log says:</p>
  
  <pre><code>No mapping found for HTTP request with URI [/Elso/hello.html] in DispatcherServlet with name 'spring'
  </code></pre>
  
  <p>I've checked out dozens of articles like that, but I just can't find the mistake, anybody has any idea what could it be?</p>