项目中使用的是spring2及security2,现需要使用security3中的功能(不同角色登陆后跳转到不同的页面),尝试使用security3的包,现在发现security3包中META-INF目录下已没有了spring.handlers、spring.schemas,所以在程序启动时
提示如下异常: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: file [D:\jboss-4.2.3.GA\server\default\deploy\jkmh.war\WEB-INF\classes\applicationContext-security.xml]
at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:80)各位凭经验帮分析一下:
1、spring2.0、security3.0是否可兼容,做哪些处理?
2、若不兼容,有没有办法实现不同角色登陆后跳转不同页面?谢谢!