我刚刚尝试安装 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 依赖项?