Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Caching mode=aspectj doesn't work [SPR-9182] #13820
AspectJ configured and work. Tomcat with LWT instrument.
If I use my adviser:
Log with aop -verbose:
<!DOCTYPE aspectj PUBLIC
1 votes, 7 watchers
Alexander Fedorov commented
Solution for Compile-time-weavering.
Alexander Kharitonov commented
I found solution for CTW.
<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheCacheManager"> ... </bean> <bean class="org.springframework.cache.aspectj.AnnotationCacheAspect" factory-method="aspectOf"> <property name="cacheManager" ref="cacheManager"/> </bean>
Juergen Hoeller commented
It seems the CacheManager is being set there as it should... So I'm not sure what's going wrong there. If you got any further insight, please let us know. We're going to try to reproduce this but any help would be appreciated.