Announcement Announcement Module
Collapse
No announcement yet.
Incorrect documentation? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Incorrect documentation?

    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.

    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"/>
    EhcacheCacheManager should have been EhCacheCacheManager.
    p:cache-manager should have been p:cacheManager
    p:config-location should have p:configLocation.

  • #2
    Instead of milestone documentation I suggest you read the final documentation which is correct, also your 'corrections' are partially wrong.

    Comment


    • #3
      Appreciate the reply.

      Comment

      Working...
      X