title: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/data/jpa]
body: <p>Any ideas, what could cause this error?</p>
  
  <blockquote>
    <p>org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
    Configuration problem: Unable to locate Spring NamespaceHandler for
    XML schema namespace [http://www.springframework.org/schema/data/jpa]
    Offending resource: ServletContext resource
    [/WEB-INF/spring/appServlet/servlet-context.xml]</p>
  </blockquote>
  
  <p>Here is my 'servle-context.xml' (there are some problems with the indents, but the file is too huge...):</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:tx="http://www.springframework.org/schema/tx"
  xmlns:beans="http://www.springframework.org/schema/beans"
  xmlns:context="http://www.springframework.org/schema/context"
  xmlns:jpa="http://www.springframework.org/schema/data/jpa"
  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/tx 
                      http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
                      http://www.springframework.org/schema/data/jpa 
                      http://www.springframework.org/schema/data/jpa/spring-jpa.xsd
                      http://www.springframework.org/schema/context 
                      http://www.springframework.org/schema/context/spring-context-3.0.xsd"&gt;
  
  &lt;!-- DispatcherServlet Context: defines this servlet's request-processing infrastructure --&gt;
  
  &lt;!-- Enables the Spring MVC @Controller programming model --&gt;
  &lt;annotation-driven /&gt;
  
  &lt;!-- Handles HTTP GET requests for /resources/** by efficiently serving up static resources in the ${webappRoot}/resources directory --&gt;
  &lt;resources mapping="/resources/**" location="/resources/" /&gt;
  
  &lt;!-- Resolves views selected for rendering by @Controllers to .jsp resources in the /WEB-INF/views directory --&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;context:component-scan base-package="com.epam.mvc3.model" /&gt;
  &lt;context:component-scan base-package="com.epam.mvc3.controller" /&gt;
  
  &lt;!-- JPA --&gt;
  &lt;beans:bean
      class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"&gt;
      &lt;beans:property name="location"&gt;
          &lt;beans:value&gt;resources/database.properties&lt;/beans:value&gt;
      &lt;/beans:property&gt;
  &lt;/beans:bean&gt;
  
  &lt;beans:bean id="myDataSource"
      class="org.springframework.jdbc.datasource.DriverManagerDataSource"&gt;
      &lt;beans:property name="driverClassName"&gt;
          &lt;beans:value&gt;${jdbc.driverClassName}&lt;/beans:value&gt;
      &lt;/beans:property&gt;
      &lt;beans:property name="url"&gt;
          &lt;beans:value&gt;${jdbc.url}&lt;/beans:value&gt;
      &lt;/beans:property&gt;
      &lt;beans:property name="username"&gt;
          &lt;beans:value&gt;${jdbc.username}&lt;/beans:value&gt;
      &lt;/beans:property&gt;
      &lt;beans:property name="password"&gt;
          &lt;beans:value&gt;${jdbc.password}&lt;/beans:value&gt;
      &lt;/beans:property&gt;
  &lt;/beans:bean&gt;
  
  &lt;beans:bean id="myEmf"
      class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"&gt;
      &lt;beans:property name="dataSource" ref="myDataSource" /&gt;
  
      &lt;beans:property name="persistenceUnitName" value="application" /&gt;
      &lt;beans:property name="persistenceXmlLocation"
          value="classpath*:META-INF/persistence.xml" /&gt;
      &lt;beans:property name="jpaVendorAdapter" ref="hibernateVendor" /&gt;
  
      &lt;beans:property name="loadTimeWeaver"&gt;
          &lt;beans:bean
              class="org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver"&gt;&lt;/beans:bean&gt;
      &lt;/beans:property&gt;
  &lt;/beans:bean&gt;
  
  &lt;beans:bean id="hibernateVendor"
      class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter"&gt;
  &lt;/beans:bean&gt;
  
  &lt;beans:bean id="transactionManager"
      class="org.springframework.orm.jpa.JpaTransactionManager"&gt;
      &lt;beans:property name="entityManagerFactory" ref="myEmf"&gt;&lt;/beans:property&gt;
  &lt;/beans:bean&gt;
  
  &lt;tx:annotation-driven transaction-manager="transactionManager" /&gt;
  
  &lt;!-- Spring Data configuration --&gt;
  &lt;jpa:repositories base-package="com.epam.mvc3.repository"/&gt;
  
  &lt;/beans:beans&gt;
  </code></pre>
  
  <p>As you can see, i specified the path to the jpa-schema. And I don't know what is the problem</p>