ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [XXXXX]; 问题解决

错误提示

ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [D:\soft\tomcat7\webapps\vcdweb\WEB-INF\classes\com\vmware\vcloud\connection\FakeSSLSocketFactory$1.class]; 

错误解决

1.  环境信息: Spring 3.2.3.RELEASE,  JDK 1.8

2.问题分析

Note that the Java 8 bytecode level (-target 1.8, as required by -source 1.8) is only fully supported as of Spring Framework 4.0.   
In particular, Spring 3.2 based applications need to be compiled with a maximum of Java 7 as the target,even if they happen to be deployed onto a Java 8 runtime.
 Please upgrade to Spring 4 for Java 8 based applications.

3. 解决方案

    一、Spring升级为4

    二、 JDK降低为1.7


(6)