Java 1.8 ASM ClassReader failed to parse class file - probably due to a new Java class file version

环境 java8 + Spring 3.2.4
编译 java7

运行出错:

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

解决方法:
升级spring4,或者将spring-core jar包替换为3.2.9以上!
参考:
http://stackoverflow.com/questions/22526695/java-1-8-asm-classreader-failed-to-parse-class-file-probably-due-to-a-new-java

https://jira.spring.io/browse/SPR-11719

spring 2.5 升级jdk1.8 只要改掉限制就可以,不会出现以上错误!

posted @ 2016-03-29 17:21  傾聽雨落  阅读(3592)  评论(0编辑  收藏  举报