-
Mar 4th, 2008, 01:25 AM
#1
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.
-
Mar 4th, 2008, 04:30 PM
#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.
-
Mar 5th, 2008, 01:59 AM
#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?
-
Apr 15th, 2008, 06:36 AM
#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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules