Failed to read candidate component class
来源:2-7 创建Web方法测试Swagger

慕粉1609076047
2023-04-25
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\H file plus\idmDownload\emos-hywx-api\target\classes\com\example\emos\hywx\EmosHywxApiApplication.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 [D:\H file plus\idmDownload\emos-hywx-api\target\classes\com\example\emos\hywx\EmosHywxApiApplication.class]; nested exception is java.lang.IllegalArgumentException: Unsupported class file major version 61
你好,这是什么情况呀,之前版本问题后就直接复制了pom.xml文件
1回答
-
你本地jdk版本太高了吧,你卸载所有的jdk,安装15.0.2这个版本的jdk
012023-05-14
相似问题