问题: can't find referenced pointcut [@Pointcut定义切入点]
描述:采用 @Component + @Aspect 全annotation 配置AOP 出现的问题
aspectjrt.jar、aspectjweaver.jar 版本不兼容导致的。
解决:更新如上jar 版本
资源:http://www.eclipse.org/aspectj/downloads.php
参考:spring-framework-3.2.4.RELEASE\docs\spring-framework-reference\pdf\spring-framework-reference.pdf(p242)
9.8 Using AspectJ with Spring applications
Required libraries (JARS)
At a minimum you will need the following libraries to use the Spring Framework's support for AspectJ
LTW:
1. spring-aop.jar (version 2.5 or later, plus all mandatory dependencies)
2. aspectjweaver.jar (version 1.6.8 or later)
If you are using the Spring-provided agent to enable instrumentation, you will also need:
1. spring-instrument.jar