maven-Multiple annotations found at this line:
2016-05-03 16:07
531 查看
今天现在maven中添加reportNG,发现报错,
Multiple annotations found at this line:
- ArtifactTransferException: Failure to transfer velocity:velocity:jar:1.4 from http://10.6.9.201:8080/nexus-2.3.1-01/ content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus
has elapsed or updates are forced. Original error: Could not transfer artifact velocity:velocity:jar:1.4 from/to nexus (http://
10.6.9.201:8080/nexus-2.3.1-01/content/groups/public): Software caused connection abort: no further information to http:// 10.6.9.201:8080/nexus-2.3.1-01/content/groups/public/velocity/velocity/1.4/velocity-1.4.jar
- ArtifactTransferException: Failure to transfer velocity:velocity-dep:jar:1.4 from http://10.6.9.201:8080/nexus-2.3.1-01/ content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus
has elapsed or updates are forced. Original error: Could not transfer artifact velocity:velocity-dep:jar:1.4 from/to nexus (http://
10.6.9.201:8080/nexus-2.3.1-01/content/groups/public): Software caused connection abort: no further information to http:// 10.6.9.201:8080/nexus-2.3.1-01/content/groups/public/velocity/velocity-dep/1.4/velocity-dep-1.4.jar
解决方法如下:
It is not a unique issue, happens every now and then (sometimes due to a slow connection and sometimes due to proxy servers now allowing to download)
You can get rid of this by either of the following ways:
1) Force Update:Right Click on the Project in Eclipse -> Maven -> Update Project On this screen select the check box Force Update for Snapshots/Releases
2) Clearing Maven Cache:If you still face a problem, go to the local repository on your system, which might be present at
step 1.
If still facing issues, manually go to the org/apache folder and delete everything and then follow step 1. (This will definitely solve the issue
Multiple annotations found at this line:
- ArtifactTransferException: Failure to transfer velocity:velocity:jar:1.4 from http://10.6.9.201:8080/nexus-2.3.1-01/ content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus
has elapsed or updates are forced. Original error: Could not transfer artifact velocity:velocity:jar:1.4 from/to nexus (http://
10.6.9.201:8080/nexus-2.3.1-01/content/groups/public): Software caused connection abort: no further information to http:// 10.6.9.201:8080/nexus-2.3.1-01/content/groups/public/velocity/velocity/1.4/velocity-1.4.jar
- ArtifactTransferException: Failure to transfer velocity:velocity-dep:jar:1.4 from http://10.6.9.201:8080/nexus-2.3.1-01/ content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus
has elapsed or updates are forced. Original error: Could not transfer artifact velocity:velocity-dep:jar:1.4 from/to nexus (http://
10.6.9.201:8080/nexus-2.3.1-01/content/groups/public): Software caused connection abort: no further information to http:// 10.6.9.201:8080/nexus-2.3.1-01/content/groups/public/velocity/velocity-dep/1.4/velocity-dep-1.4.jar
解决方法如下:
It is not a unique issue, happens every now and then (sometimes due to a slow connection and sometimes due to proxy servers now allowing to download)
You can get rid of this by either of the following ways:
1) Force Update:Right Click on the Project in Eclipse -> Maven -> Update Project On this screen select the check box Force Update for Snapshots/Releases
2) Clearing Maven Cache:If you still face a problem, go to the local repository on your system, which might be present at
C:\Users\myusername\.m2\repositoryand delete the .cache folder and then follow
step 1.
If still facing issues, manually go to the org/apache folder and delete everything and then follow step 1. (This will definitely solve the issue
相关文章推荐
- Android--FragmentTabHost+Fragment
- java实现文件后缀命名
- 关于Action里面传值的问题
- 网址
- 『Python高级编程』学习笔记之二: 第十章——编写项目文档
- LeetCode OJ 113. Path Sum II
- android--------关于创建模拟器不能移动的问题
- AndroidStudiod如何打包aar文件包和引用小记
- Galera集群
- 嵌入式第一天
- Activemq 使用ssl说明
- Linux命令概录
- android圆形头像:相机相册加载图片到圆形头像
- linux进程调度,优先级、进程nice值
- SQL in 与inner join查询结果的区别
- 关于HIVE的数据模型介绍
- upd简单广播例子
- 1. Two Sum
- Python3爬虫入门之贴吧图片批量获取
- Zookeeper的节点znode