首页 > 解决方案 > 如何修复 OpenShift maven 项目构建错误

问题描述

我尝试在 OpenShift 中使用 JBoss Web Server 3.1 Apache Tomcat 8+MySQL(with https) 构建一个 maven 项目。

但是错误会发生这样的。

[ERROR]
[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/MojoFailureException 
Aborting due to error code 1 from Maven build
error: build error: non-zero (13) exit code from registry.access.redhat.com/jboss-webserver-3/webserver31-tomcat8-openshift@sha256:29470583ce1511dbbe8e2552b7f0278d0d74595c42a00632cd23fda1ffab361e

在eclipse中构建成功的maven项目。

但 OpenShift 不断出现错误。

我在错误日志中输入了 URL(http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException )。它说错误与插件有关。但我无法弄清楚是什么样的插件以及它是什么。

我该如何解决?

标签: javamavenbuildopenshift

解决方案


推荐阅读