Spring AOP的使用报错!

用构造方法注入的时候

需要把无参构造方法手动加上

AOP底层会调用无参构造方法。

不加则报错:Superclass has no null constructors but no arguments were given

posted @ 2017-06-16 16:41  BrokenColor  阅读(569)  评论(1编辑  收藏  举报