Tag: exception

异常:java.lang.IllegalArgumentException: Superclass has no null constructors but no arguments were given

wiflish | 技术 | 2014-08-08
原因:配置了使用Cglib代理的类,没有提供默认的构建器,即在Spring配置文件中配置了: 但相关的bean中没有提供默认构建器,所以报错。 解决:或者 (默认值为false) 异常栈: Caused by: java.lang.IllegalArgumentException: Superclass has no null constructors but no arguments were given at net.sf.cglib.proxy.Enhancer.emitConstructors(... [阅读全文]
Ɣ回顶部