下降jdk的版本 將jdk1.8-->jdk1.7java
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [E:\java workspace\myeclipse2017\spring01\bin\cn\itcast\e_anno\App.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: file [E:\java workspace\myeclipse2017\spring01\bin\cn\itcast\e_anno\App.class]; nested exception is java.lang.IllegalArgumentException
at
spring
在項目上右鍵 --> Properties --> Java Compile --> Compiler compliance level :eclipse
如圖:spa