我正在尝试按照Spring Boot tutorial创建我的第一个Spring启动应用程序。但是,像往常一样出了问题。 当我按照指令为spring boot项目创建一个新的pom时,我收到以下错误。
$ mvn dependency:tree
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.XXXX:rabbitmq-poc:1.0-SNAPSHOT (/home/adelin/workspace/rabbitmq-poc/pom.xml) has 1 error
[ERROR] Non-resolvable import POM: Failure to find org.springframework.integration:spring-integration-bom:pom:2.1.3.RELEASE in 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 @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, /home/adelin/.m2/repository/org/springframework/boot/spring-boot-dependencies/1.3.0.BUILD-SNAPSHOT/spring-boot-dependencies-1.3.0.BUILD-SNAPSHOT.pom, line 1426, column 16 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
我试图用mvn clean install -U
强制更新我的本地仓库,但没有成功。
有什么想法吗?