Results 1 to 2 of 2

Thread: 3.1M1 Caching methods issue

  1. #1
    Join Date
    Mar 2011
    Posts
    6

    Default 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. #2
    Join Date
    Mar 2011
    Posts
    6

    Default

    Solved, required mode to be set to aspectj.

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •