STS创建Maven项目报错
来源:互联网 发布:传奇单机版物品数据库 编辑:程序博客网 时间:2024/05/16 06:11
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
<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
0 0
- STS创建Maven项目报错
- STS 创建maven项目
- 使用STS创建maven项目,以及创建完成后如何解决项目报错问题
- Maven STS创建WEB项目
- 用STS创建Maven的Web项目
- 用STS创建Maven的Web项目
- 创建Maven项目报错
- Maven项目报错:Project configurator "com.springsource.sts.ide.maven.core.springProjectConfigurator"
- sts创建maven项目+创建经典source结构目录
- STS怎么创建一个springMVC的Maven项目
- 使用STS创建基于maven的java web项目
- spring sts 创建项目
- eclipse创建maven项目报错解决办法
- 使用Eclipse创建Maven项目报错
- Eclipse创建Maven项目报错
- Intellij idea创建maven项目报错
- 解决maven创建项目报错问题
- eclipse创建maven项目报错
- ZigZag Conversion
- Search
- python爬虫网上教程合集
- Android应用基础——User Interface
- /proc/sys description
- STS创建Maven项目报错
- C++ 私有构造函数的作用
- Code[vs]3064 求和(模拟)
- 一个随机生成数独的程序
- js中的hashmap实现
- python输入和输出
- Ubuntu14.04上安装Ruby/tk
- 二分搜索的区间问题
- hibernate 连接Mysql数据库插入中文数据变问号 解决方法