Skip to Content
Former Member
Sep 14, 2018 at 08:07 AM

Spring Version Change for Hybris Upgrade


Hi We are upgrading hybris version from 5.7 to 6.6. In 5.7 spring security version is 3.2.5 and for 6.6 spring security version is 4.2.4. While starting the server spring classes like JKSKeyManager is not getting recognized even if its present because of the version mismatch. Can some one suggest how to change the dependency to the old version of spring and use the new one? and where all we need to update this?

Thanks in advance

PFB the error logs below:

 at Source)
 Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'de.hybris.platform.ruleengine.infrastructure.PostRuleEngineInitializeBeanPostProcessor#0': Unsatisfied dependency expressed through field 'beanFactory'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [] for bean with name 'keyManager' defined in class path resource [security/spring-security-config.xml]; nested exception is java.lang.ClassNotFoundException:
         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(
         at org.springframework.beans.factory.annotation.InjectionMetadata.inject(
         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(