Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.把CGLIB Jar包放入项目就可以了,没有实现接口的时候也会报这个错误!!!
关于Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.和 java.lang.ClassNotFoundException: org.objectweb.asm.Type错误的解决方法: 就是加入cglib-nodep-2.2.2.jar包,如果加入cglib-2.2.2.jar包,就会报第二种错误