STS创建Maven项目报错
2015-02-04 23:54
309 查看
Description Resource Path Location Type
Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-war-plugin:pom:2.1.1 from http://repo1.maven.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.plugins:maven-war-plugin:pom:2.1.1 from/to central (http://repo1.maven.org/maven2):
ConnectException first-maven Unknown Maven Problem
Soultion
参考:http://www.iteye.com/problems/62007
Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-war-plugin:pom:2.1.1 from http://repo1.maven.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.plugins:maven-war-plugin:pom:2.1.1 from/to central (http://repo1.maven.org/maven2):
ConnectException first-maven Unknown Maven Problem
Soultion
<mirrors> <!-- mirror | Specifies a repository mirror site to use instead of a given repository. The repository that | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used | for inheritance and direct lookup purposes, and must be unique across the set of mirrors. | <mirror> <id>mirrorId</id> <mirrorOf>repositoryId</mirrorOf> <name>Human Readable Name for this Mirror.</name> <url>http://my.repository.com/repo/path</url> </mirror> --> <mirror> <id>central</id> <name>Maven Repository Switchboard</name> <url>http://repo2.maven.org/maven2</url> </mirror> </mirrors>
参考:http://www.iteye.com/problems/62007
相关文章推荐
- eclipse创建maven项目报错解决办法
- Eclipse-Mars Release (4.5.0)创建Maven项目报错
- Maven STS创建WEB项目
- 使用maven创建java项目报错connect timed out
- myeclipse创建maven项目pom报错,Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1
- 解决eclipse创建maven项目报错!Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp
- Intellij idea创建maven项目报错
- springmvc创建maven项目报错
- 使用maven cmd命令创建maven项目报错
- 使用STS创建基于maven的java web项目
- Eclipse使用Maven创建项目是报错:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quick
- 用STS创建Maven的Web项目
- 【待解决】maven创建web项目报错
- 使用STS创建maven项目,以及创建完成后如何解决项目报错问题
- 用STS创建Maven的Web项目
- STS(Spring Tool Suite)创建maven项目
- STS 创建maven项目
- 用STS和Maven的方式创建一个JavaWeb项目
- 创建maven项目时遇到的报错
- eclipse创建maven web项目报错的处理方案