Announcement Announcement Module
Collapse
No announcement yet.
3.1M1 Caching methods issue Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 3.1M1 Caching methods issue

    I've setup the method caching according to the documentation [http://static.springsource.org/sprin...ml/cache.html] and I'm having an issue.

    At startup, CacheAspectSupport.afterPropertiesSet properly has the cacheManager set.

    When running, the CacheAspectSupport.getCaches is throwing an NPE at 133 because the manager isn't there. I put a breakpoint at these two places to make sure it was set at startup and not set when running.

    Any help is appreciated.

    Thanks,

    Mike

  • #2
    Solved, required mode to be set to aspectj.

    <cache:annotation-driven mode="aspectj"/>

    Comment

    Working...
    X