title: Spring 3.0 - Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/security]
body: <p>Any ideas what could be the cause of this?</p>
  
  <blockquote>
    <p>Unable to locate Spring
    NamespaceHandler for XML schema
    namespace
    [<a href="http://www.springframework.org/schema/security]" rel="noreferrer">http://www.springframework.org/schema/security]</a></p>
  </blockquote>
  
  <pre><code>org.springframework.web.context.ContextLoader initWebApplicationContext: Context initialization failed
  org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/security]
  Offending resource: ServletContext resource [/WEB-INF/applicationContext.xml]
  </code></pre>
  
  <p>This is my applicationContext.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans:beans xmlns="http://www.springframework.org/schema/security"
      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/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/security
          http://www.springframework.org/schema/security/spring-security-3.0.xsd"&gt;
  ...
  &lt;/beans:beans&gt;
  </code></pre>
  
  <p>In my pom.xml I have:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
      &lt;artifactId&gt;spring-security-core&lt;/artifactId&gt;      
      &lt;version&gt;3.0.1.RELEASE&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
      &lt;artifactId&gt;spring-security-openid&lt;/artifactId&gt;
      &lt;version&gt;3.0.1.RELEASE&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>