title: Cannot resolve MVC View Spring MVC 3
body: <p>I am using pre setup Maven project from openshift and when I`m running the app on Tomcat the answer is "HTTP Status 404 - /WEB-INF/views/hello.jsp"
  Here is the web.xml</p>
  
  <pre><code>&lt;display-name&gt;Spring MVC Application&lt;/display-name&gt;
      &lt;servlet&gt;
          &lt;servlet-name&gt;dispatcher&lt;/servlet-name&gt;
          &lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet&lt;/servlet-class&gt;
          &lt;init-param&gt;
              &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
              &lt;param-value&gt;WEB-INF/dispatcher-servlet.xml&lt;/param-value&gt;
          &lt;/init-param&gt;
          &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
      &lt;/servlet&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;dispatcher&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>dispatcher-servlet
  </p>
  
  <pre><code>&lt;bean id="jspViewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
      &lt;property name="prefix" value="/WEB-INF/views/"/&gt;
      &lt;property name="suffix" value=".jsp"/&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>
  hello.jsp</p>
  
  <pre><code>&lt;%@ page contentType="text/html;charset=UTF-8" language="java" %&gt;
  
      &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
      &lt;h1&gt;Message : ${message}&lt;/h1&gt;
      &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>and controller</p>
  
  <pre><code>@Controller
  @RequestMapping("/welcome")
  public class Test {
      @RequestMapping(method = RequestMethod.GET)
      public String printWelcome(ModelMap model) {
          model.addAttribute("message", "Spring 3 MVC - Hello World");
          return "hello";
      }
  }
  </code></pre>
  
  <p>My IDEA Spring service shows that it is not able to resolve "hello" in "return "hello";"
  and there is no error in log just shows "HTTP Status 404 - /WEB-INF/views/hello.jsp" when i ask for <a href="http://localhost:9999/welcome" rel="nofollow">http://localhost:9999/welcome</a>;
  Appreciate everyone`s answer </p>
  
  <p>PS here is the source code if anyone is interested, thanks</p>