title: Spring MVC is not recognizing mvc:resource in config file
body: <p>Update :Now Working properly. Kindly follow the comments. <br/>
  This is my Spring configuration file:</p>
  
  <pre><code>&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"
      xmlns:mvc="http://www.springframework.org/schema/mvc"
      xsi:schemaLocation="http://www.springframework.org/schema/beans 
          http://www.springframework.org/schema/beans/spring-beans.xsd
          http://www.springframework.org/schema/context
          http://www.springframework.org/schema/context/spring-context.xsd
          http://www.springframework.org/schema/mvc
          http://www.springframework.org/schema/mvc/spring-mvc.xsd
      "&gt;
      &lt;context:component-scan  base-package="report.frontcontroller"/&gt;
      &lt;mvc:resources mapping="/resources/**" location="/resources/" /&gt;
      &lt;mvc:annotation-driven /&gt;
      &lt;bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
          &lt;property name="prefix"&gt; &lt;value&gt;/WEB-INF/&lt;/value&gt;&lt;/property&gt;
          &lt;property name="suffix"&gt; &lt;value&gt;.jsp&lt;/value&gt;&lt;/property&gt;
      &lt;/bean&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p>All jars are included in this project, and the configuration file is shown above. I get errors for this part:</p>
  
  <pre><code>&lt;mvc:resources mapping="/resources/**" location="/resources/" /&gt;
  &lt;mvc:annotation-driven /&gt;
  </code></pre>
  
  <blockquote>
    <p><strong>Errors:</strong>  * Matching wildcard is strict but no declaration is found for <code>mvc:resource</code> and <code>mvc:annotation</code>
      <strong>* Multiple annotations found at this line:<em></strong>
        - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:resources'.
        - schema_reference.4: Failed to read schema document '<a href="http://www.springframework.org/schema/mvc/spring-" rel="nofollow">http://www.springframework.org/schema/mvc/spring-</a>
         mvc-3.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document 
         is not .
    <strong></em> Multiple annotations found at this line:*</strong>
        - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:resources'.
        - schema_reference.4: Failed to read schema document '<a href="http://www.springframework.org/schema/mvc/spring-" rel="nofollow">http://www.springframework.org/schema/mvc/spring-</a>
         mvc.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document 
         is not .</p>
  </blockquote>