eclipse中maven插件的add dependency不能使用

这个怎么解决啊

第1个回答  2014-07-13
通过右键单击pom.xml文件选择maven –> add dependency 或者是打开pom.xml文件,选择dependencies –>add 时,搜索不到依赖的jar包,解决方法如下:
1、eclipse菜单 window-> show view –> other –> Maven
2、在打开的窗口里,右键 local repositories –> local repository ,选择 rebuild index,
3、在打开的窗口里,右键 global repositories –> central,选择 rebuild index和update index
add dependency是maven唯一比leiningen好用的一点,不过巨慢无比
第2个回答  2014-09-15
请问你解决这个问题了吗?我也有同样的问题。
相似回答
大家正在搜