Spring 3.2和Cache Abstraction缺少EhCache实现 [英] Spring 3.2 and Cache Abstraction missing EhCache implementation
本文介绍了Spring 3.2和Cache Abstraction缺少EhCache实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在将代码迁移到 Spring 3.2 版本(从 3.1.3 ),但是Spring Cache Abstraction出现了问题.
I am migrating our code to Spring 3.2 version (from 3.1.3) and I've got an issue with Spring Cache Abstraction.
我们使用CacheManager
的EhCache实现,其配置非常简单:
We use EhCache implementation of CacheManager
and its configuration is quite simple:
<cache:annotation-driven />
<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheCacheManager" p:cache-manager-ref="ehcache" />
<bean id="ehcache" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" p:config-location="classpath:ehcache.xml" />
我的问题是我缺少EhCacheCacheManager
类和spring-context jar
中的相应工厂bean.我想他们将实现转移到了其他模块,但是我找不到确切的位置.
My problem is that I am missing EhCacheCacheManager
class and corresponding factory bean in spring-context jar
. I suppose they moved implementation to some other module, but I can't find where exactly.
推荐答案
查看全文