org.springframework.beans.factory.BeanDefinitionStoreException:的處理及解決

在學習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 ==

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章