Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.
这个异常是因为缺少了一个jar包(cglib-nodep-2.1_3),加入了就可以了。。汗一个
本文解决在使用Spring框架时遇到的初始化bean失败异常,该异常提示缺少CGLIB依赖,通过加入CGLIB依赖包即可解决问题。
180

被折叠的 条评论
为什么被折叠?



