您的位置:首页 > 编程语言 > Java开发

spring aop报错:Cannot proxy target class because CGLIB2 is not available.

2016-03-06 09:08 429 查看
使用Spring的aop是遇到如下错误:

Caused by: org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.

解决方法:

导入cglib-nodep-2.1_3.jar包即可
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: