Spring AOP的使用报错!
用构造方法注入的时候
需要把无参构造方法手动加上
AOP底层会调用无参构造方法。
不加则报错:Superclass has no null constructors but no arguments were given
仅做笔记,如有错误之处,望指出
用构造方法注入的时候
需要把无参构造方法手动加上
AOP底层会调用无参构造方法。
不加则报错:Superclass has no null constructors but no arguments were given