本文共 776 字,大约阅读时间需要 2 分钟。
Failure to transfer org.apache.maven:maven-artifact:pom:2.0.6 from was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven:maven-artifact:pom:2.0.6 from/to central ( No connector available to access repository central ( of type default using the available factories pom.xml /hello line 1 Maven Configuration Problem
Window-->preferences-->myeclipse-->maven4myeclipse--->user settings把local repository里面的地址复制。
如果你的myeclipse没有的话,就找到:c:users{你的电脑账号}.m2repository (一般在这个文件夹里)。打开repository文件及后,在里面搜索 maven*.lastupdated。把搜出来的文件都删了。重启myeclipse,右键项目--->maven4myeclipse--->update project...勾选Force Update of Snapshots/Releases,然后ok退出转载地址:http://zkdvx.baihongyu.com/