Could not generate CGLIB subclass of class xxxx:

Could not generate CGLIB subclass of class xxxx: 

Common causes of this problem include using a final class or a non-visible class; nested exception is java.lang.IllegalArgumentException: 

Superclass has no null constructors but no arguments were given

 

解决办法:写一个没有参数的构造方法。

你可能感兴趣的:(spring,错误)