Spring3 Hibernate4 AopConfigException CGLIB2 is not available
来源:互联网 发布:软件外包商务网 编辑:程序博客网 时间:2024/06/06 08:51
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'coreService' defined in class path resource [beans.xml]: 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.
对应的Bean没有实现接口导致:
public class CoreService<T> { }
改成
public class CoreService<T> implements ICoreService {}
就可以
- Spring3 Hibernate4 AopConfigException CGLIB2 is not available
- Cannot proxy target class because CGLIB2 is not available
- Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the...
- spring使用中报Cannot proxy target class because CGLIB2 is not available错
- [Sprincglib] spring aop报错:Cannot proxy target class because CGLIB2 is not available.
- Spring 错误Cannot proxy target class because CGLIB2 is not available
- spring aop报错:Cannot proxy target class because CGLIB2 is not available.
- CGLIB2 not available: proxyTargetClass feature disabled
- Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify pr
- Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify pr
- Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify pr
- Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify pr
- Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify pr
- Servlet action is not available
- Servlet action is not available
- MyEclipse is not currently available
- Servlet action is not available
- Servlet Action is not available
- CRect和HRGN的区别
- Android天气预报
- 【<私活案例3>】 获取某市网站普通高中录取分数小工具
- spring+hibernate的第一个项目成功后的总结
- 10718 - Bit Mask
- Spring3 Hibernate4 AopConfigException CGLIB2 is not available
- 读取大文件Filestream
- java笔记 static关键字详解
- 为什么选择Microsoft Windows XP Embedded,而不选择嵌入式 Linux?
- org.springframework.beans.factory.BeanNotOfRequiredTypeException
- zoj 1100 铺砖 状态压缩
- Android手机分辨率基础知识
- MYSQL字符集设置,解决乱码问题
- 从epoll构建muduo-1 mini-muduo介绍