Jun 7th, 2012, 08:18 AM
AspectJ is not working with Spring 3.0.5 Version
I am trying to execute some aspects (AspectJ) with spring-mvc application. My aspect configuration is defined properly in META-INF/aop.xml file. One surprising thing I came when I tried to put <mvc:annotation-driven> or <mvc:view-controller> declaration in my spring application context file it's not working, Interestingly If I remove these <mvc> namespaces from my application context file declaration it all works.
Is it something to do with classloading, am using below artifacts in my POM (complete list of dependencies are excluded for brevity ).
a. all required spring dependency - 3.0.5.RELEASE
I am debuging the spring codebase for couple of days, but nothing leads me to find the rootcause of this.
I will be relieved and greatful if someone throws some light on this, I search google a lot but didn't find anything, am sure other's also have faced similar problem, just not documented anywhere.
Tags for this Thread