Spring 4.x and hibernate 4.x basic CRUD application getting warning No mapping found for HTTP request with URI
<p>I tried all the trails posted in internet mainly in stackoverflow but coudn't find the exact solution of my application problem.</p>

<p>Please don't mark this as duplicate because warning might be the duplicate but version or something else is causing which is not duplicate here i.e the same answers are no working for me</p>

<p>Warning i'm getting: </p>

<pre><code>WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI in DispatcherServlet with name 'appServlet'
</code></pre>

<p>Code of my application:</p>

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

<pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"&gt;

    &lt;!-- The definition of the Root Spring Container shared by all Servlets and Filters --&gt;
    &lt;context-param&gt;
        &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
        &lt;param-value&gt;/WEB-INF/spring/root-context.xml&lt;/param-value&gt;
    &lt;/context-param&gt;

    &lt;!-- Creates the Spring Container shared by all Servlets and Filters --&gt;
    &lt;listener&gt;
        &lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt;
    &lt;/listener&gt;

    &lt;!-- Processes application requests --&gt;
    &lt;servlet&gt;
        &lt;servlet-name&gt;appServlet&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/spring/appServlet/servlet-context.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;appServlet&lt;/servlet-name&gt;
        &lt;url-pattern&gt;/&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
&lt;/web-app&gt;
</code></pre>

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

<pre><code>&lt;beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/mvc 
http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd
http://www.springframework.org/schema/context 
http://www.springframework.org/schema/context/spring-context-4.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-4.0.xsd"&gt;

&lt;!-- DispatcherServlet Context: defines this servlet's request-processing 
    infrastructure --&gt;

&lt;!-- Enables the Spring MVC @Controller programming model --&gt;
&lt;!-- &lt;annotation-driven /&gt; --&gt;
&lt;!-- &lt;context:annotation-config/&gt; --&gt;
&lt;mvc:annotation-driven /&gt;

&lt;!-- Handles HTTP GET requests for /resources/** by efficiently serving 
    up static resources in the ${webappRoot}/resources directory --&gt;
&lt;!-- &lt;resources mapping="/resources/**" location="/resources/" /&gt; --&gt;

&lt;!-- Resolves views selected for rendering by @Controllers to .jsp resources 
    in the /WEB-INF/views directory --&gt;
&lt;bean
    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;

&lt;bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"
    destroy-method="close"&gt;
    &lt;property name="driverClassName" value="com.mysql.jdbc.Driver" /&gt;
    &lt;property name="url"
        value="jdbc:mysql://localhost:3306/TestDB" /&gt;
    &lt;property name="username" value="root" /&gt;
    &lt;property name="password" value="root" /&gt;
&lt;/bean&gt;

&lt;!-- Hibernate 4 SessionFactory Bean definition --&gt;
&lt;bean id="hibernate4AnnotatedSessionFactory"
    class="org.springframework.orm.hibernate4.LocalSessionFactoryBean"&gt;
    &lt;property name="dataSource" ref="dataSource" /&gt;
    &lt;property name="annotatedClasses"&gt;
        &lt;list&gt;
            &lt;value&gt;com.mahender.web.model.Person&lt;/value&gt;
        &lt;/list&gt;
    &lt;/property&gt;
    &lt;property name="hibernateProperties"&gt;
        &lt;props&gt;
            &lt;prop key="hibernate.dialect"&gt;org.hibernate.dialect.MySQLDialect
            &lt;/prop&gt;
            &lt;prop key="hibernate.show_sql"&gt;true&lt;/prop&gt;
        &lt;/props&gt;
    &lt;/property&gt;
&lt;/bean&gt;

&lt;bean id="personDAO" class="com.mahender.web.DAO.PersonDAOImpl"&gt;
    &lt;property name="sessionFactory" ref="hibernate4AnnotatedSessionFactory" /&gt;
&lt;/bean&gt;
&lt;bean id="personService" class="com.mahender.web.service.PersonServiceImpl"&gt;
    &lt;property name="personDAO" ref="personDAO"&gt;&lt;/property&gt;
&lt;/bean&gt;
&lt;context:component-scan base-package="com.mahender.web" /&gt;

&lt;tx:annotation-driven transaction-manager="transactionManager"/&gt;

&lt;bean id="transactionManager" class="org.springframework.orm.hibernate4.HibernateTransactionManager"&gt;
    &lt;property name="sessionFactory" ref="hibernate4AnnotatedSessionFactory" /&gt;
&lt;/bean&gt;
</code></pre>

<p></p>

<p>Snippet of my Controller(not all the code provided i think this is enough to find the problem)</p>

<pre><code>@RequestMapping(value = "/app")
@Controller
public class PersonController {

    private PersonService personService;

    @Autowired(required=true)
    @Qualifier(value="personService")
    public void setPersonService(PersonService ps){
        this.personService = ps;
    }

    @RequestMapping(value = "/persons", method = RequestMethod.GET)
    public String listPersons(Model model) {
        model.addAttribute("person", new Person());
        model.addAttribute("listPersons", this.personService.listPersons());
        return "person";
    }
</code></pre>

<p>and the jsp snippet of code is:
person.jsp</p>

<pre><code>&lt;c:url var="addAction" value="/person/add" &gt;&lt;/c:url&gt;

&lt;form:form action="${addAction}" commandName="person"&gt;
</code></pre>