on 2020 Mar 07 7:15 PM
Hi Experts,
We are trying to use Spring redis with Hybris 6.1 but getting error while server startup.We have used below maven dependency
<dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-redis</artifactId> <version>2.2.4.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> <version>1.13.23.RELEASE</version> </dependency> <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> <version>2.9.0</version> </dependency> <dependency> <groupId>org.springframework.session</groupId> <artifactId>spring-session</artifactId> <version>1.3.5.RELEASE</version> </dependency>
Let me know if any additional information is needed.Thanks in advance!!
ERROR Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.interceptor.CacheInterceptor#0': Cannot resolve reference to bean 'compositeDoterraCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultCompositeDoterraCacheManager' defined in ServletContext resource [/WEB-INF/config/cache-config-spring.xml]: Cannot resolve reference to bean 'doterraCacheManagerList' while setting bean property 'cacheManagers'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultDoterraCacheManagerList': Cannot resolve reference to bean 'defaultDoterraCacheManager' while setting bean property 'sourceList' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultDoterraCacheManager' defined in ServletContext resource [/WEB-INF/config/cache-config-spring.xml]: Cannot resolve reference to bean 'doterraEhcache' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultDoterraEhcache' defined in ServletContext resource [/WEB-INF/config/cache-config-spring.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Failed to parse EhCache configuration resource
Regards,
Phanidhar Juttiga
Request clarification before answering.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.