jdk 1.8 与 spring+springmvc 3.2 .jar 启动tomcat报错
2016-11-15 17:20
1241 查看
Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/F:/apache-tomcat-9.0.0.M8/webapps/qmis_web/WEB-INF/lib/c3p0-0.9.1.2.jar!/com/mchange/v1/xml/DomParseUtils$1.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: class path resource [org/w3c/dom/NodeList.class]; nested exception is java.lang.IllegalArgumentException
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:290)
at o
ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn’t supported yet: class path resource [org/w3c/dom/NodeList.class]; nested exception is java.lang.IllegalArgumentException
at org.springframework.core.type.classreading.SimpleMetadataRe
解决方案
降低 jdk 版本 到 1.7
测试了不同的解决办法 只有 这个 可以解决问题 ,因为 从新升级spring的版本 需要同时升级其相关 jar 的版本!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/F:/apache-tomcat-9.0.0.M8/webapps/qmis_web/WEB-INF/lib/c3p0-0.9.1.2.jar!/com/mchange/v1/xml/DomParseUtils$1.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: class path resource [org/w3c/dom/NodeList.class]; nested exception is java.lang.IllegalArgumentException
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:290)
at o
ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn’t supported yet: class path resource [org/w3c/dom/NodeList.class]; nested exception is java.lang.IllegalArgumentException
at org.springframework.core.type.classreading.SimpleMetadataRe
解决方案
降低 jdk 版本 到 1.7
测试了不同的解决办法 只有 这个 可以解决问题 ,因为 从新升级spring的版本 需要同时升级其相关 jar 的版本!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
相关文章推荐
- 一个spring3.2的项目 从jdk1.7放到1.8的环境中编译,打开网页异常:spring jar包版本升级经历
- spring3.2与jdk1.8不兼容问题
- Spring3.2和jdk1.8之间的兼容性错误
- Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.
- 用spring+struts2+hibernate开发的项目放到服务器上时由于服务器不能联网,启动tomcat报错。
- spring 结合 proxool连接池 启动tomcat报错:Attempt to refer to a unregistered pool by its alias
- Maven+Spring+MVC结构中,jetty/tomcat是如何启动项目的
- Maven+Spring+MVC结构中,jetty/tomcat是如何启动项目的
- Spring Boot (一) 基础搭建、兼容jar启动及war tomcat启动、集成Swagger2 API。
- Maven+Spring+MVC结构中,jetty/tomcat是如何启动项目的
- spring + mybatis + atomikos 启动tomcat报错
- 错误路径Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.
- Spring3.2和jdk1.8之间的兼容性错误
- Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.
- Maven+Spring+MVC结构中,jetty/tomcat是如何启动项目的
- 在spring-mvc架构下一启动tomcat就报错
- CentOS7,安装Tomcat8.5、JDK1.8,并设置开机启动(Linux CentOS Tomcat、JDK+Tomcat、Tomcat开机自启动)
- 在配置Shiro时,启动tomcat报错出现异常(org.springframework.beans.factory.BeanCreationException)
- maven+SpringMVC框架开发启动tomcat报监听异常
- Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.