IllegalArgumentException at org.springframework.asm.ClassReader when initializing Spring context
来源:互联网 发布:java关闭线程的方法 编辑:程序博客网 时间:2024/04/30 08:47
06-16 22:42:06] [ERROR] [resin-39] [org.springframework.web.context.ContextLoader] Context initialization failedjava.lang.IllegalArgumentExceptionat org.springframework.asm.ClassReader.<init>(Unknown Source)at org.springframework.asm.ClassReader.<init>(Unknown Source)at org.springframework.asm.ClassReader.<init>(Unknown Source)at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:52)at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:80)at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:101)at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:76)at org.springframework.context.annotation.ConfigurationClassParser.getImports(ConfigurationClassParser.java:298)at org.springframework.context.annotation.ConfigurationClassParser.getImports(ConfigurationClassParser.java:300)at org.springframework.context.annotation.ConfigurationClassParser.getImports(ConfigurationClassParser.java:300)at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:230)at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:153)at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:130)at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:285)at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:223)at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:630)at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461)at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)at org.jboss.resteasy.plugins.spring.SpringContextLoaderListener.contextInitialized(SpringContextLoaderListener.java:44)at com.caucho.server.webapp.WebApp.addListenerObject(WebApp.java:2154)at com.caucho.server.webapp.WebApp.callInitializers(WebApp.java:3453)at com.caucho.server.webapp.WebApp.startImpl(WebApp.java:3689)at com.caucho.server.webapp.WebApp.access$400(WebApp.java:207)at com.caucho.server.webapp.WebApp$StartupTask.run(WebApp.java:5217)at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
问题原因:Java 8 with Spring 3.2.0, which doesn't support it.
解决方法:使用spring4或者使用jdk7.
1 0
- IllegalArgumentException at org.springframework.asm.ClassReader when initializing Spring context
- 那些年踩过的坑之(3)IllegalArgumentException at org.springframework.asm.ClassReader when initializing Spring
- spring web项目启动报错,java.lang.IllegalArgumentException at org.springframework.asm.ClassReader.<init>
- java.lang.IllegalArgumentException org.springframework.asm.ClassReader.
- java.lang.IllegalArgumentException at org.springframework.asm.ClassReader.<init>(Unknown Source)
- java.lang.IllegalArgumentException at org.springframework.asm.ClassReader.<init>(Unknown Source)
- at org.springframework.asm.ClassReader.<init>(Unknown Source)
- at org.springframework.asm.ClassReader.<init>(Unknown Source)
- at org.springframework.asm.ClassReader.<init>(Unknown Source)
- at org.springframework.asm.ClassReader.<init>(Unknown Source)
- 严重: Context initialization failed java.lang.IllegalArgumentException at org.springframework.asm.Cla
- eclipse报错 at org.springframework.asm.ClassReader.<init>(Unknown Source)
- bug-解决-springMVC框架 启动tomcat时 (at org.springframework.asm.ClassReader.<init>(Unknown Source))问题
- Maven -- Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse clas
- JUnit报错nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to...
- nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse cla
- org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file
- org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file
- 择业总动员2
- 优秀Android博客大全,整理了国内外大神博客/Github地址,是学习Android进阶的首选[转]
- java求圆的面积
- 集成VR播放器--虚拟现实浪潮的一舟: UtoVR
- php文件下载
- IllegalArgumentException at org.springframework.asm.ClassReader when initializing Spring context
- GridView
- 12306购票时被拦截的原因
- 天地图河池,天地图巴马
- TS 类型备忘 音视频格式
- C++多态以及其注意事项
- mysql存储引擎比较
- Python 图像库包
- 【C语言】交换两个数