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 的版本!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!