Pages

Resolving "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"

If you are new to spring security the below exception might get you confused.
"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"

To resolve this you need to add the below maven dependency to your pom.xml(if your working with maven)

Thats it. Redeploy the app and you are done.

2 comments:

  1. I am facing below exception while deploying aaplication on Oracle 12 C. I am not using Maven. Only Eclipse.

    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate NamespaceHandler for namespace [http://www.directwebremoting.org/schema/spring-dwr]
    Offending resource: ServletContext resource [/WEB-INF/applicationContext.xml]


    Please help

    ReplyDelete
  2. I am facing same issue but it working on weblogic 12 c windows platform and it gives above exception on weblogic 12c Unix platform.

    ReplyDelete