-
Mar 10th, 2011, 02:38 PM
#1
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
-
Mar 15th, 2011, 10:40 AM
#2
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
-
Forum Rules