spring3.2以后的cglib的jar包问题
2013-11-20 09:36
246 查看
关于cglib的jar包官方的文档上有这么一段话
Note |
For this dynamic subclassing to work, the class that the Spring container will subclass cannot be final, and the method to be overridden cannot be final either. Also, testing a class that has an abstract method requires you to subclass the class yourself and to supply a stub implementation of the abstract method. Finally, objects that have been the target of method injection cannot be serialized. As of Spring 3.2 it is no longer necessary to add CGLIB to your classpath, because CGLIB classes are repackaged under org.springframework and distributed within the spring-core JAR. This is done both for convenience as well as to avoid potential conflicts with other projects that use differing versions of CGLIB |
为了防止项目中其他对cglib版本依赖不一样的冲突。
博客地址:http://www.cnblogs.com/shizhongtao/
相关文章推荐
- spring3.2以后的cglib的jar包问题
- [置顶] 解决SpringBoot jar包太大的问题
- Mac Eclipse里面编码转换正常,打成Jar包以后转码成乱码问题
- 一个spring3.2的项目 从jdk1.7放到1.8的环境中编译,打开网页异常:spring jar包版本升级经历
- spring 3.2+mybatis 整合报错问题
- spring打包到jar问题
- maven web 项目 没有spring-web.jar的问题解决方法
- spring-boot打包,引入外部jar包问题
- Mac Eclipse里面编码转换正常,打成Jar包以后转码成乱码问题
- MyEclipse下完美解决Hibernate 3.2与Spring 2.0+冲突问题
- 关于spring中commons-attributes-compiler.jar的使用问题
- 如何在改版的spring官网下载jar包问题
- 创建spring源码环境时,缺少spring-cglib-repack-3.2.5.jar和spring-objenesis-repack-2.6.jar
- Spring Boot结合cxf发布WebService接口jar包冲突的问题
- springmvc+mybatis+maven项目集成的时候遇到一个问题,项目搭起来以后,http请求怎么都进不到controller中,页面直接返回404错误,控制台没有报任何错误,请大神帮我看看
- Spring boot 打成jar包问题总结
- 如何在改版的spring官网下载jar包问题
- maven引入多个spring jar包中存在同名文件的问题
- ECLIPSE中MAVEN构建spring 多模块工程jar包不能自动扫描问题解决办法
- springboot打的jar包中的文件读取问题。fileNotFoundException