编译Optashift开箱即用的错误?

时间:2018-03-11 11:21:42

标签: optaplanner optaweb-employee-rostering

我只是尝试安装Optashift,并且在开箱即用时将问题编译成了问题:

我收到此错误:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Employee Rostering as a Service Parent ............. SUCCESS [  1.062 s]
[INFO] Employee Rostering as a Service Shared ............. SUCCESS [  2.817 s]
[INFO] Employee Rostering as a Service Shared GWT wrapper . SUCCESS [ 10.459 s]
[INFO] Employee Rostering as a Service GWT UI ............. SUCCESS [06:55 min]
[INFO] Employee Rostering as a Service Server ............. SUCCESS [  0.402 s]
[INFO] Employee Rostering Service Java Client ............. SUCCESS [ 19.308 s]
[INFO] Employee Rostering as a Service Webapp ............. FAILURE [ 15.267 s]
[INFO] Employee Rostering as a Service Benchmark .......... SKIPPED
[INFO] Employee Rostering as a Service documentation ...... SKIPPED
[INFO] Employee Rostering as a Service Distribution ....... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:46 min
[INFO] Finished at: 2018-03-11T12:14:26+01:00
[INFO] Final Memory: 88M/967M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.6.5:start (start-container) on project optashift-employee-rostering-webapp: Execution start-container of goal org.codehaus.cargo:cargo-maven2-plugin:1.6.5:start failed: Cannot create configuration. There's no registered configuration for the parameters (container [id = [to-be-specified-in-a-profile], type = [installed]], configuration type [standalone]). Actually there are no valid types registered for this configuration. Maybe you've made a mistake spelling it? -> [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/PluginExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :optashift-employee-rostering-webapp

可能是什么问题?

我可以在一个简单的Tomcat中部署这个战争(我在尝试它时遇到错误),或者在这个项目中是否存在Openshift依赖项?

1 个答案:

答案 0 :(得分:1)

.provision.sh脚本不使用-DskipTests,因此运行测试。这些测试使用maven-cargo-plugin,显然由于某种原因失败了。这不是失败的测试,但由于某种原因失败的货物/野生动物部署。

您还可以在此输出前粘贴几行吗? We're tracking this issue in jira.