I was trying to configure Spring Caching abstractions with EhCache as backing cache implementation and naturally was using the link , but there are minor errors on the page that caused me lots of confusion and waste of few hours.
EhcacheCacheManager should have been EhCacheCacheManager.Code:<bean id="cacheManager" class="org.springframework.cache.ehcache.EhcacheCacheManager" p:cache-manager="ehcache"/> <!-- Ehcache library setup --> <bean id="ehcache" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" p:config-location="ehcache.xml"/>
p:cache-manager should have been p:cacheManager
p:config-location should have p:configLocation.


Reply With Quote