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
关注者
605
累计阅读

热门教程文档

Dart
35小节
CSS
33小节
MySQL
34小节
Kotlin
68小节
Spring Cloud
8小节
广告