报错nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to...
来源:互联网 发布:阿里云手机空间 编辑:程序博客网 时间:2024/06/07 07:17
原java7 换给java8后运行报错;
nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to...
- org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [工程java包的目录-persistent\target\test-classes\com\netutel\dao\CreateTable.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 [工程java包的目录-persistent\target\test-classes\com\netutel\dao\CreateTable.class]; nested exception is java.lang.IllegalArgumentException
- at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:290)
- at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:242)
- at org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:84)
- at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73)
- at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1438)
- at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1428)
- at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:195)
- at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:139)
- at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:108)
- at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
- at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
- at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
- at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
- at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
- at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
- at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
- at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:243)
- at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:127)
- at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:93)
- at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
- at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)
- at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
- at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
解决:在mvn管理的pom.xml中分析 spring框架使用的脚本,
然后需要将使用的spring框架的版本设置为3.2.9以上的版本。(修改到了spring 4.1.6 RELEASE )
重新打jar
问题解决
阅读全文
0 0
- JUnit报错nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to...
- 报错nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to...
- nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse cla
- Maven -- Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse clas
- org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file
- org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file
- SpringBoot启动报错" Unable to start embedded container; nested exception is org.springframework.beans.fa
- Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException
- Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageExce
- Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException:
- org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [XXX.xml]';
- nested exception is org.springframework.beans.NotWritablePropertyException:
- eclipse报错 at org.springframework.asm.ClassReader.<init>(Unknown Source)
- spring web项目启动报错,java.lang.IllegalArgumentException at org.springframework.asm.ClassReader.<init>
- nested exception is java.lang.IncompatibleClassChangeError: class org.springframework.core.type.clas
- Cannot deserialize; nested exception is org.springframework.core.serializer.support.SerializationFai
- org.springframework.web.util.NestedServletException: Request processing failed; nested exception is
- Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException:
- EF core 2.0 调用MySql数据库存储过程
- Eclipse下 Hadoop Maven 项目log4j配置
- 安卓检测USB设备插入之后回调用户代码的小框架编写
- php
- Linux(CentOS)下安装注册中心(Zookeeper-3.4.6)
- 报错nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to...
- mysql的存储过程
- ASN.1笔记——标准编码规则BER
- 老徐带你玩儿转小程序---小店版案例讲解
- python 使用@run_on_executor 创建线程,后台执行并check(2)
- 4.13 基本类型的类封装
- 大
- 深入浅出ClassLoader
- window10下vmware14pro虚拟机黑屏的处理方式