Hi,
I upgraded the schema to version 3.0 but for some reason I can't get it up running.
Code:
<beans:beans xmlns:beans="http://www.springframework.org/schema/beans" xmlns:security="http://www.springframework.org/schema/security"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
Error when starting the container (tomcat 6.0.18)
Code:
caused by: 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: URL [jndi:/localhost/phenomate/WEB-INF/config/spring-security.xml]
Here's the authentication manager part:
Code:
<security:authentication-manager>
<security:authentication-provider>
<security:user-service>
<security:user name="alex" password="xxxx" authorities="ROLE_USER, ROLE_ADMIN"/>
</security:user-service>
</security:authentication-provider>
</security:authentication-manager>
I can manually resolve and find the xsd here: http://www.springframework.org/schem...curity-3.0.xsd
Any ideas what is missing ? Already went through the milestone forum entries for upgrading to 3.0... what am I missing ?
Regards, Alex
PS: these are my deployed dependencies incl. versions:
Code:
com.springsource.javax.activation-1.1.1.jar
com.springsource.javax.mail-1.4.1.jar
com.springsource.org.aopalliance-1.0.0.jar
com.springsource.org.apache.commons.logging-1.1.1.jar
com.springsource.org.apache.log4j-1.2.15.jar
com.springsource.org.junit-4.7.0.jar
com.springsource.org.tuckey.web.filters.urlrewrite-3.1.0.jar
org.springframework.aop-3.0.0.RC2.jar
org.springframework.asm-3.0.0.RC2.jar
org.springframework.aspects-3.0.0.RC2.jar
org.springframework.beans-3.0.0.RC2.jar
org.springframework.binding-2.0.8.RELEASE.jar
org.springframework.context-3.0.0.RC2.jar
org.springframework.context.support-3.0.0.RC2.jar
org.springframework.core-3.0.0.RC2.jar
org.springframework.expression-3.0.0.RC2.jar
org.springframework.jdbc-3.0.0.RC2.jar
org.springframework.js-2.0.8.RELEASE.jar
org.springframework.orm-3.0.0.RC2.jar
org.springframework.transaction-3.0.0.RC2.jar
org.springframework.web-3.0.0.RC2.jar
org.springframework.web.servlet-3.0.0.RC2.jar
org.springframework.webflow-2.0.8.RELEASE.jar
spring-security-acl-3.0.0.RC1.jar
spring-security-core-3.0.0.RC1.jar
spring-security-taglibs-3.0.0.RC1.jar
spring-security-web-3.0.0.RC1.jar