Spring 注解 遇到的问题   ASM ClassReader failed to parse class file 4年前

降低jdk的版本  将jdk1.8-->jdk1.7

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   

在项目上右键 --> Properties --> Java Compile --> Compiler compliance level :

如图:

    Spring 注解 遇到的问题   ASM ClassReader failed to parse class file

image
顺天府内部机关要员
空太是笨蛋!
2
发布数
0
关注者
613
累计阅读

热门教程文档

C#
57小节
10.x
88小节
Golang
23小节
HTML
32小节
QT
33小节
广告