方法一:eclipse
找到出錯的jar包文件位置,刪掉_maven.repositories文件maven
方法二:ui
maven中的本地倉庫的index索引沒有更新致使索引
解決方案:ip
在eclipse中打開菜單 window-> show view –> other –> Maven -> maven repositoriesit
打開以後,選擇local repositories –> local repository ,右擊,選擇Build index.cli