方法一:eclipse
找到出错的jar包文件位置,删掉_maven.repositories文件maven
方法二:ui
maven中的本地仓库的index索引没有更新致使索引
解决方案:ip
在eclipse中打开菜单 window-> show view –> other –> Maven -> maven repositoriesit
打开以后,选择local repositories –> local repository ,右击,选择Build index.cli