错误描述:
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:SSMSSM_3.22spring_transactiontargetclassesspring_txAnnotationControllerBookController.class]; nested exception is NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [D:SSMSSM_3.22spring_transactiontargetclassesspring_txAnnotationControllerBookController.class]; nested exception is java.lang.IllegalArgumentException: Unsupported class file major version 62
原因中的最后一句话是很重要的,它说明了导致该错误产生的原因是由于jDK版本不匹配的问题
Unsupported class file major version 62
解决办法如下:
第一步:
第二步:
本文发布于:2024-01-31 07:05:08,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170665591126488.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |