myeclipse 8.5 中 maven4myeclipse add dependency 输入字母后没有提示

myeclipse 6.5 中 maven4myeclipse add dependency 输入字母后就有下载好的jar文件的提示,怎么配置才能让8.5的maven出现提示啊

这是因为 Maven 仓库的索引没有更新,首先看看这个设置 Window | Preferences | Maven 下,有一个选项 Download repository index updates on startup,意思就是每次启动 myeclipse 的时候去更新 maven 仓库的索引,因为这个影响myeclipse的启动时间,所以一般人都会取消这个选项,那么就有另外一种选择,在 Window | Show View | Other 下面,输入 Maven,你会看到 Maven Repositories,打开这个视图,找到 Global Repositories | central,右键选择 Update Index就可以更新 Maven 仓库的索引了,这些操作完成之后,你再为工程添加依赖 jar 包就可以出现你所要的提示了
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答