我正在关注一个很棒的教程:http://www.objectdb.com/tutorial/jpa/eclipse/spring/project
在复制 pom.xml 的代码后的第一步,我得到 9 个错误。这是我的 pom.xml 的第 1 行显示的错误:
Failure to transfer org.apache.maven.reporting:maven-reporting-api:jar:2.0.6 from http://repo.maven.apache.org/maven2 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.reporting:maven-reporting-api:jar:2.0.6 from/to central (http://repo.maven.apache.org/maven2): The operation was cancelled. pom.xml /Guestbook line 1 Maven Configuration Problem
如有必要,我可以发布其他错误。在此之前我尝试过运行一些简单的预制 maven 项目,我相信他们称它们为 archtypes。他们有类似的错误。我不明白为什么会发生这种情况,而且我无法得到一些不立即抛出错误的 hello world 东西。