Thursday, 21 July 2011

Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/security]

Problem
=====
SEVERE: 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/library-security.xml]



Solution
=====
[dependency]
[groupId]org.springframework.security[/groupId]
[artifactId]spring-security-config[/artifactId]
[version]3.0.2.RELEASE[/version]
[/dependency]
[dependency]
[groupId]org.springframework.security[/groupId]
[artifactId]spring-security-web[/artifactId]
[version]3.0.2.RELEASE[/version]

No comments:

Post a Comment