码迷,mamicode.com
首页 > 编程语言 > 详细

Spring错误

时间:2018-03-01 00:39:50      阅读:164      评论:0      收藏:0      [点我收藏+]

标签:work   学习   col   str   基本   1.3   aop   size   available   

今天在学习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.

解决办法:

在导入了IOC基本jar包和AOP基本jar包后还需导入下面这个jar包,才能避免这种问题的发生

  cglib-nodep-2.1.3.jar

Spring错误

标签:work   学习   col   str   基本   1.3   aop   size   available   

原文地址:https://www.cnblogs.com/rgever/p/8486331.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!