Spring版本过低问题
来源:互联网 发布:泰安优化公司 编辑:程序博客网 时间:2024/05/01 18:30
- 环境信息:
- Spring 3.2.10, JDK 1.8, hibernate 4
- 错误提示
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\NewWorkSpace\ep-user\target\test-classes\org\homework\ep\user\base\BaseTest.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [D:\NewWorkSpace\ep-user\target\test-classes\org\homework\ep\user\base\BaseTest.class]; nested exception is java.lang.IllegalArgumentException
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:290)
..............
- 问题分析
- ASM ClassReader failed to parse class file”黄色高亮是其中主要的原因。
- 原因是,如果使用JDK8,那么spring的JAR包最低版本为4.0以上!
- 解决方案
- 使用jdk7
- 升级Spring的jar包为4.0以上!
- Spring版本过低问题
- node版本问题过低
- apk openssl版本过低的问题
- oracle带来的JVM版本过低问题
- proxool 连接池 jdk版本过低问题
- CentOS 下面解决libvirt版本过低、升级冲突问题
- Ubuntu 15.04 Chrome解决Flashplugin版本过低问题
- 解决 chrome 37 之后 flash 版本过低问题
- Eclipse解决Tomcat版本过低不能发布问题
- firefox,flash版本过低
- 浏览器版本过低判断
- Spring注解编程时用junit测试时,显示jdK版本过低问题,更改版本后仍然不行的解决方法
- cygwin中svn版本过低无法读取高版本的workcopy的问题
- svn版本过低无法读取高版本的workcopy的问题
- <constructor-arg>标签不可出现属性“name”可能是你spring版本过低
- gcc升级和node版本过低问题以及node安装问题
- jdk版本过低导致aes找不到
- mysql error#1251客户端版本过低
- 766D Mahmoud and a Dictionary[带权并查集][dfs]
- 元宵
- ubuntu环境下使用eclipse手动配置c/c++开发环境
- RS-232协议
- BFPRT算法(TOP-K问题)
- Spring版本过低问题
- ES6学习笔记-Let&Const
- C++中sizeof(struct)怎么计算?
- Mybatis异常: protocol = http host = null
- Struts2-MVC模式
- Java 代理模式和装饰者模式的区别
- 寒假篇27
- Ubuntu下安装xl2tpd服务
- Deep Learning(Bengio)2.1-2.6节 读书笔记