title: Spring validation has error in XML document from ServletContext resource
body: <p>I applied spring validation in my registration page .but the follwing error are shown in my server log of my app engine server.  </p>
  
  <pre><code> javax.servlet.UnavailableException: 
      org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
      Line 22 in XML  document from ServletContext resource 
      [/WEB-INF/spring/appServlet/servlet-context.xml] is invalid; 
      nested exception is org.xml.sax.SAXParseException;
      lineNumber: 22; columnNumber: 30; 
      cvc-complex-type.2.4.c: The matching wildcard is strict, 
      but no declaration can be found for element 'property'.
  </code></pre>
  
  <p>My code is given below :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans:beans xmlns="http://www.springframework.org/schema/mvc"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"
      xmlns:context="http://www.springframework.org/schema/context"
      xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
          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
          http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd 
          http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd &gt;
  
  
      &lt;beans:bean name="/register" class="com.my.registration.NewUserRegistration"&gt;
          &lt;property name="validator"&gt;
              &lt;bean class="com.my.validation.UserValidator" /&gt;
          &lt;/property&gt;
          &lt;beans:property name="formView" value="newuser"&gt;&lt;/beans:property&gt;
          &lt;beans:property name="successView" value="home"&gt;&lt;/beans:property&gt;
      &lt;/beans:bean&gt;
      &lt;beans:bean
          class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
          &lt;beans:property name="prefix" value="/WEB-INF/views/" /&gt;
          &lt;beans:property name="suffix" value=".jsp" /&gt;
      &lt;/beans:bean&gt;
  
  &lt;/beans:beans&gt;
  </code></pre>