org.springframework.beans.factory.BeanDefinitionStoreException:的处理及解决

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/weixin_44540088/article/details/99169609
在学习spring的时候,出现以下错误大概是jdk版本和spring版本冲突的问题,我一开始用的是jdk11.0和spring3.0版本,把spring版本换为5.1.9的后顺利解决问题。

异常如下:

==Exception in thread “main” org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [E:\chromeDownloads\projects\spring1\out\production\spring1\com\how2java\aspect\LoggerAspect.class]; nested exception is java.lang.ArrayIndexOutOfBoundsException: Index 9322 out of bounds for length 81 ==

猜你喜欢

转载自blog.csdn.net/weixin_44540088/article/details/99169609