Unable to update index for central http://repo1.maven.org/maven2/ 就是这句,myeclipse启动后控制台输出这句话: 解决办法: 1.在myeclipse3.4(我用的这个版本)里面Window => Preferences => Myeclipse Enterprise Workbench => Maven4Myeclipse => Maven=>禁用Download repository index updates on startup 如果没有,则首先你要 Window => Preferences => Myeclipse Enterprise Workbench => Maven4Myeclipse 这个里面启用 Enable Maven4Myeclipse features ,打上勾,要先启用这个插件 这样 Window => Preferences => Myeclipse Enterprise Workbench => Maven4Myeclipse => Maven 就有了!再选中就好了! 其实上面还有一项 offline 的!呵呵!我直接就把这个选上了!哈哈!
myeclipse启动后控制台显示这句,解决方法是: Window => Preferences => Myeclipse Enterprise Workbench => Maven4Myeclipse => Maven=>禁用Download repository index updates on startup
myeclipse 启动后控制台显示这句,解决方法是: Window => Preferences => Myeclipse Enterprise Workbench => Maven4Myeclipse => Maven=>禁用Download repository index updates on startup
September 22, 2011 by Vladimir Stanković
Recently I wanted to refresh my maven repos, but the following problem have occured
Unable to update index for central|http://repo1.maven.org/maven2
If you experience this problem, try to delete contents in the following directory
workspace_location\.metadata\.plugins\org.maven.ide.eclipse\nexus
Before directory deletion ensure that your Eclipse instance is not running.
After you deleted directory go to Window->Preferences->Maven and enable checkbox named“Download repository index updates on startup” . Press OK and restart Eclipse.
Next time you start Eclipse Nexus indexer will update repository indexes.