Spring MVC -No mapping found for HTTP request with URI [/HelloWeb/WEB-INF/jsp/hello.jsp] in DispatcherServlet with name 'servletname'
<p>I am creating a basic hello world Spring MVC application. But it is not able to find the URL mapping. I have searched a lot but didn't found any satisfactory solutions.I get the following error on console.</p>

<blockquote>
  <p>org.springframework.web.servlet.PageNotFound noHandlerFound WARNING:
  No mapping found for HTTP request with URI
  [/HelloWeb/WEB-INF/jsp/hello.jsp] in DispatcherServlet with name
  'HelloController'</p>
</blockquote>

<p>Can anybody help me out fixing this. Below is my code</p>

<p><strong>HelloController.java</strong>
        package com.tutorialspoint;</p>

<pre><code>import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.ui.ModelMap;

@Controller
public class HelloController{

   @RequestMapping(value="/" , method = RequestMethod.GET)
   public String printHello(ModelMap model) {
      model.addAttribute("message", "Hello Spring MVC Framework!");

      return "hello";
   }

}
</code></pre>

<p><strong>web.xml</strong></p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;

&lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns="http://xmlns.jcp.org/xml/ns/javaee" 
 xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" 
 id="WebApp_ID" version="3.1"&gt;

  &lt;display-name&gt;HelloWeb&lt;/display-name&gt;   
  &lt;servlet&gt;
      &lt;servlet-name&gt;HelloController&lt;/servlet-name&gt;
      &lt;servlet-class&gt;
         org.springframework.web.servlet.DispatcherServlet
      &lt;/servlet-class&gt;
      &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
   &lt;/servlet&gt;

   &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;HelloController&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/&lt;/url-pattern&gt;
   &lt;/servlet-mapping&gt;
</code></pre>

<p><strong>HelloController-servlet.xml</strong></p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;

&lt;beans xmlns="http://www.springframework.org/schema/beans"
   xmlns:context="http://www.springframework.org/schema/context"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="
   http://www.springframework.org/schema/beans     
   http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
   http://www.springframework.org/schema/context 
   http://www.springframework.org/schema/context/spring-context-3.0.xsd"&gt;

   &lt;context:component-scan base-package="com.tutorialspoint" /&gt;



   &lt;bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
      &lt;property name="prefix" value="/WEB-INF/jsp/" /&gt;
      &lt;property name="suffix" value=".jsp" /&gt;
   &lt;/bean&gt;
   &lt;/beans&gt;
&lt;/web-app&gt;
</code></pre>

<p><strong>hello.jsp</strong></p>

<pre><code>&lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%&gt;
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
&lt;title&gt;See this first MVC page here&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h2&gt;${message}&lt;/h2&gt;
&lt;h6&gt;Check if above sentence is visible&lt;/h6&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>