Update 5: I\'ve downloaded the latest Spring ToolsSuite IDE based on the latest Eclipse. When I import my project as a Maven project, Eclipse/STS appears to
It works for us on maven using compile time weaving, try adding the following plugins:
org.apache.maven.plugins
maven-compiler-plugin
1.6
true
1.6
1.6
org.codehaus.mojo
aspectj-maven-plugin
compile
1.6
1.6
false
true
org.springframework
spring-aspects
compile
test-compile
1.6
1.6
false
org.springframework
spring-aspects
test-compile
org.aspectj
aspectjweaver
1.6.4
Its done as two separate execution steps to allow you to add different aspect libraries for unit testing and compilation.
You'll also need the following dependency added for the spring-aspects library:
org.springframework
spring-aspects
compile