Maven pom.xml 文件报错
2015-12-20 13:30
357 查看
我在使用eclipse碰见这个错误,我没有用私服,直接连接到maven中心(<url>http://maven.apache.org</url>)。
ArtifactTransferException: Failure to transfer org.springframework:spring-aop:jar:3.2.8.RELEASE 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.springframework:spring-aop:jar:3.2.8.RELEASE from/to central (http://repo.maven.apache.org/maven2): No response received after 60000
这句话的意思是:
对于这个包传输以本地仓库失败,解决不会重新试,直到maven再改更新索引,或强制更新。
实际的解决办法是:直接去本地仓库,(C:\Users\Administrator\.m2\repository)把这个spring-aop:jar:3.2.8.RELEASE 的目录删除掉(因为包没有下载下来),再次刷新你的项目就中以了,或者在你的项目上右击,选择maven--->update project就可以了
ArtifactTransferException: Failure to transfer org.springframework:spring-aop:jar:3.2.8.RELEASE 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.springframework:spring-aop:jar:3.2.8.RELEASE from/to central (http://repo.maven.apache.org/maven2): No response received after 60000
这句话的意思是:
对于这个包传输以本地仓库失败,解决不会重新试,直到maven再改更新索引,或强制更新。
实际的解决办法是:直接去本地仓库,(C:\Users\Administrator\.m2\repository)把这个spring-aop:jar:3.2.8.RELEASE 的目录删除掉(因为包没有下载下来),再次刷新你的项目就中以了,或者在你的项目上右击,选择maven--->update project就可以了
相关文章推荐
- ExpressCache : Product is not licensed to run on this system
- Nmap之概述及工作原理
- WP8加入自己定义铃声
- 来看看Meteor的功能
- Python 入门简介(一)
- UEFI+GPT+WIN7无法使用智能响应技术
- Btrfs文件系统及应用
- IQ , EQ ,...还有什么Q
- 映泰主板BIOS刷入slic并激活
- C#_StreamReader读取文本文件
- 一、原生js,ajax
- python "".join() 出错TypeError: sequence item 0: expected string
- 同时打开多个独立Excel窗口
- Win7 更新到IE11 打开组策略管理模板报错
- Java中的锁——队列同步器
- python脚本在Windows计划任务执行问题
- Oracle中的通配符
- Java中的锁——队列同步器(AQS)
- 编译Caffe+VS2013+Opencv3.0.0 lib发生错误
- iOS_ScrollView的自己主动布局