-
Jan 20th, 2012, 01:05 AM
#1
problem with SecurityNamespaceHandler
hi,
i m trying to upgrade my old app with spring security 3.1.RELEASE, but got bunch of problems, here is the one i cannot resolve:
nested exception is org.springframework.beans.FatalBeanException: Class [org.springframework.security.config.SecurityNamesp aceHandler] for namespace [http://www.springframework.org/schema/security] does not implement the [org.springframework.beans.factory.xml.NamespaceHan dler] interface:
org.springframework.beans.FatalBeanException: Class [org.springframework.security.config.SecurityNamesp aceHandler] for namespace [http://www.springframework.org/schema/security] does not implement the [org.springframework.beans.factory.xml.NamespaceHan dler] interface
i used to use spring security 2.0.5.RELEASE and spring 2.5.6.SEC01, i checked my pom.xml, all spring related jar are updated to 3.1.0.RELEASE, and my security.xml is simple as the following:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:security="http://www.springframework.org/schema/security"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schem...-beans-3.1.xsd
http://www.springframework.org/schema/security
http://www.springframework.org/schema/security/spring-security-3.1.xsd">
<security:http auto-config='true'>
<security:intercept-url pattern="/**" access="ROLE_USER" />
</security:http>
</beans>
anyone can tell me what's wrong? Thanks!
Tags for this Thread
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