[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project message-service: Failed to deploy artifacts: Could not transfer artifact com.ceres:message-service:jar:2.0.0-20191121.060950-9 from/to baina-central (http://nexus.lmt.trade/content/repositories/snapshots/): Failed to transfer file: http://nexus.lmt.trade/content/repositories/snapshots/com/ceres/message-service/2.0.0-SNAPSHOT/message-service-2.0.0-20191121.060950-9.jar. Return code is: 500, ReasonPhrase: Server Error. -> [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :message-service Build step 'Execute shell' marked build as failure
Finished: FAILURE

 

翻译:

[错误]无法在项目消息服务上执行目标org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy(默认部署):无法部署工件:无法传输工件com.ceres:从/到baina-central的message-service:jar:2.0.0-20191121.060950-9(http://nexus.lmt.trade/content/repositories/snapshots/):无法传输文件:http://nexus.lmt .trade / content / repository / snapshots / com / ceres / message-service / 2.0.0-SNAPSHOT / message-service-2.0.0-20191121.060950-9.jar。返回码是:500,ReasonPhrase:服务器错误。 -> [帮助1]
[错误]
[错误]要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven。
[错误]使用-X开关重新运行Maven以启用完整的调试日志记录。
[错误]
[ERROR]有关错误和可能的解决方案的详细信息,请阅读以下文章:
[错误] [帮助1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[错误]
[错误]纠正问题后,您可以使用以下命令恢复构建
[错误] mvn <目标> -rf:消息服务
构建步骤“执行外壳”将构建标记为失败
完成:失败

  

原因:

Maven仓库所在服务器磁盘空间已满,导致无法deploy

 

验证:

在Maven仓库所在服务器,检查磁盘空间是否足够。


Linux 查看磁盘空间

Linux 查看磁盘空间

分类 编程技术

Linux 查看磁盘空间可以使用 df 和 du 命令。


df

df 以磁盘分区为单位查看文件系统,可以获取硬盘被占用了多少空间,目前还剩下多少空间等信息。

例如,我们使用df -h命令来查看磁盘信息, -h 选项为根据大小适当显示:

Maven报错Return code is: 500 -> [Help 1]

 

解决:

释放一些磁盘空间
Linux 删除命令

 

 

 

相关文章:

  • 2021-10-19
  • 2022-03-06
  • 2022-12-23
  • 2021-11-09
  • 2021-09-14
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
猜你喜欢
  • 2020-01-26
  • 2022-12-23
  • 2021-05-26
  • 2021-11-22
相关资源
相似解决方案