用构造方法注入的时候

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

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

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

相关文章: