Could not transfer artifact with status code 500

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project op-rpc: Failed to deploy artifacts: Could not transfer artifact com.xx:op-rpc:jar:1.0.2-20190819.084430-43 from/to dj_oss (http://39.108.171.24:822/repository/maven-snapshots/): Failed to transfer file http://39.108.171.24:822/repository/maven-snapshots/com/xx/op-rpc/1.0.2-SNAPSHOT/op-rpc-1.0.2-20190819.084430-43.jar with status code 500 -> [Help 1]
[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/MojoExecutionException

使用jenkins打包,代码没有变化,突然就打不了包了,报上面这个错误。

应用是部署在docker中,nexus也是跑在docker中。

df发现硬盘使用了95%.

后来清理掉了一些不用的docker images后恢复正常。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
"Could not transfer artifact" 是一个常见的Maven错误,表示无法从仓库中下载所需的依赖。这个错误可能有多种原因引起。根据引用和引用,这个错误可能是由于连接超时或无法下载的原因导致的。引用提供了两种解决办法。 第一种解决办法是更改Maven设置。进入IDEA的设置,找到Maven选项,然后修改导入选项。具体的更改包括重启IDEA。这种方法适用于解决"POM.xml一直提示Could not transfer artifact"的问题。 第二种解决办法是解决Maven无法解析依赖的问题。首先,在IDEA的设置中找到Maven,然后在导入和已进行程序的VM中添加以下参数:-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true。使用快捷键CTRL + ALT + S打开设置。最后,执行Maven的clean install命令来解决依赖问题。 总结来说,"Could not transfer artifact"错误可能是由于连接超时或无法下载导致的。解决这个问题的方法包括更改Maven设置和添加参数来解析依赖。希望这些解决办法可以帮助你解决问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [彻底解决:Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom](https://blog.csdn.net/qq_45427317/article/details/120431314)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [plexus相关jar包](https://download.csdn.net/download/gao36951/8804939)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [关于pom.xml一直提示Could not transfer artifact(无法搬运)+无法解析maven依赖的问题,我在学习...](https://blog.csdn.net/m0_53623945/article/details/122660254)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值