当用Maven导入依赖的JAR包时,报错:Index downloads are disabled, search result may be incomplete.

解决方法:
1、在preferences里面选择maven,选中“Download repository index updates on startup"
Maven报错:Index downloads are disabled, search result may be incomplete.
2、打开Maven仓库
Maven报错:Index downloads are disabled, search result may be incomplete.
3、在全局仓库上右键选择“Full Index Enabled"
Maven报错:Index downloads are disabled, search result may be incomplete.
4、选择之后,maven会下载一个近百兆的索引文件,下载完会更新索引,需要的过程比较长,可能会卡,建议此期间不要做其他事情
5、这之后我们就可以在Select Dependency中搜索到内容了

相关文章:

  • 2021-11-17
  • 2021-06-26
  • 2021-06-23
  • 2022-01-15
  • 2022-01-30
猜你喜欢
  • 2021-07-18
  • 2021-12-06
  • 2021-05-30
  • 2021-12-20
  • 2021-06-29
  • 2021-05-22
相关资源
相似解决方案