使用elcipse为maven自动添加依赖的jar包,的确很方便,但是每次更换了elcipse想要添加依赖总是会有如下的提示:
index deownloads are disabled,serch results may be incomplete。
那如何解决这个问题呢?解决如下:
1、找到windows–preferences–maven,找到maven:勾选如下:
2、找到windows–show view –maven,找到maven并打开:
到Global Repositories上右键选择rebuild index就可以了,下载的文件可能有点大,需要稍等一会!