Announcement Announcement Module
Collapse
No announcement yet.
Unable to locate Spring NamespaceHandler for XML schema namespace Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to locate Spring NamespaceHandler for XML schema namespace

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

    While deploying my application on Tomcat, I get this error.

    I use spring-security 2.0-M2. What can I do to avoid this message? Because it is a blocking one because the application does not startup.

  • #2
    This exception normally raises if you don't have the Spring Security jar(s) in the web container classpath.

    You can also turn on debug logging on org.springframework.beans.factory.xml to see which namespaces are recognized.

    Comment


    • #3
      The jars are on the classpath because I added this to the pom.xml of my webapplication:

      <dependency>
      <groupId>org.springframework.security</groupId>
      <artifactId>spring-security-core</artifactId>
      <version>2.0-M2</version>
      </dependency>

      So the problem remains. What can I do to solve the above described problem?

      Comment


      • #4
        I have the same problem.
        WAR is built with Ant.
        spring-security-core-2.0.0-RC1.jar is in WEB-INF/lib , like all others.
        Tried adding more jars from spring-security-RC1 , no effect.

        Comment

        Working...
        X