【发布时间】:2017-08-24 05:53:54
【问题描述】:
我的环境:Win10 + Java 8 + Hybris Commerse 6.3
我已按照 https://help.hybris.com 上提供的教程步骤进行 Cuppy 安装。在重建和启动应用程序后,我遇到了以下异常:
ERROR [localhost-startStop-1] [ContextLoader] Context initialization failed org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: You cannot use a spring-security-2.0.xsd or spring-security-3.0.xsd or spring-security-3.1.xsd schema or spring-security-3.2.xsd schema or spring-security-4.0.xsd schema with Spring Security 4.1. Please update your schema declarations to the 4.1 schema.
Offending resource: class path resource [cuppy/cuppy-spring-security.xml]
at org.springframework.beans.factory.parsing.FailFastProblemReporter.fatal(FailFastProblemReporter.java:60) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
...
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context:
Root WebApplicationContext - /cuppy: startup date [Thu Mar 30 13:15:10 EEST 2017]; parent: hybris Application context - master
【问题讨论】:
标签: java xml spring-security hybris