Spring AOP动态代理要求类必须要实现接口,如果类没有实现接口也可以使用Cglib类的代理实现。 配置文件中加入 <aop:aspectj-autoproxy proxy-target-class="true"/> 并导入Cglib.jar包