异常求解:小弟学spring时出现异常,跪求好心人帮忙看看

小弟在学spring注解的时候出现了以下错误,解决不了了,跪求好心人帮忙看看,异常显示,测试文件第14行有错误,第14行就是下面这句话
ApplicationContext applicationContext=new ClassPathXmlApplicationContext("spring-an.xml");


xml文件:


类文件:

测试文件:

出现的异常报告:
Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\java_IDEA\program\spring_test\target\classes\com\southwind\entity\Car.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 [C:\java_IDEA\program\spring_test\target\classes\com\southwind\entity\Car.class]; nested exception is java.lang.IllegalArgumentException: Unsupported class file major version 60

我的spring版本是5.2.3,JDK版本是8
拜托各位好心人了!
全部评论
看起来是版本问题
点赞 回复 分享
发布于 2022-07-12 23:10

相关推荐

认真搞学习:28小登的建议,投算法岗不要写什么物理竞赛,互联网+,多写点项目,用什么算法做了什么。还有本科算法是不可能的开发你这个也没有项目啊
点赞 评论 收藏
分享
05-16 11:16
已编辑
东华理工大学 Java
牛客737698141号:盲猜几十人小公司,庙小妖风大,咋不叫她去4️⃣呢😁
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务