title: cvc-complex-type.2.4.a: Invalid content was found starting with element 'beans:bean'
body: <blockquote>
    <p>One of '{"<a href="http://www.springframework.org/schema/beans" rel="nofollow noreferrer">http://www.springframework.org/schema/beans</a>":meta, "h
        ttp://www.springframework.org/schema/beans":constructor-arg, "<a href="http://www.springframework.org/schema/beans" rel="nofollow noreferrer">http://www.springframework.org/schema/beans</a>":property, "<a href="http://www.springframework.org/schema/beans" rel="nofollow noreferrer">http://www.springframework.org/schema/beans</a>":qualifier, "<a href="http://www.springframework.or" rel="nofollow noreferrer">http://www.springframework.or</a>
        g/schema/beans":lookup-method, "<a href="http://www.springframework.org/schema/beans" rel="nofollow noreferrer">http://www.springframework.org/schema/beans</a>":replaced-method, WC[##other:"<a href="http://www.springframework.org/schema/beans" rel="nofollow noreferrer">http://www.springframework.org/schema/beans</a>"]}' is expected.</p>
  </blockquote>
  
  <p>Tomcat is showing me above error</p>
  
  <p>My spring-servlet.xml is given below. I am using .3.11.RELEASE version of springframework.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans:bean xmlns="http://www.springframework.org/schema/mvc" 
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
              xmlns:context="http://www.springframework.org/schema/context" 
              xmlns:beans="http://www.springframework.org/schema/beans" 
              xsi:schemaLocation="
                http://www.springframework.org/schema/mvc 
                  http://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd
                http://www.springframework.org/schema/context 
                  http://www.springframework.org/schema/context/spring-context-4.3.xsd
                http://www.springframework.org/schema/beans 
                  http://www.springframework.org/schema/beans/spring-beans-4.3.xsd"&gt;
  
      &lt;context:component-scan base-package="in.project.*" /&gt;
  
  
      &lt;annotation-driven/&gt;
  
      &lt;beans:bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
          &lt;beans:property name="prefix" value="/views/"/&gt;
          &lt;beans:property name="suffix" value=".jsp"/&gt;
      &lt;/beans:bean&gt;
  
  &lt;/beans:bean&gt;
  </code></pre>