Results 1 to 4 of 4

Thread: Unable to locate Spring NamespaceHandler for XML schema namespace

Hybrid View

  1. #1
    Join Date
    May 2007
    Location
    Rome
    Posts
    67

    Default 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. #2
    Join Date
    Nov 2006
    Location
    Munich, Germany
    Posts
    24

    Default

    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.

  3. #3
    Join Date
    May 2007
    Location
    Rome
    Posts
    67

    Default

    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?

  4. #4

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •