如何将Vaadin部署到OpenShift?

时间:2015-12-28 02:46:53

标签: java openshift vaadin

当我推送到OpenShift(小型设备)git存储库时,我不断收到此错误:

 remote: [INFO] auto discovered modules [your.company.MyAppWidgetset]
 remote: [WARNING] Failed to retrieve com.vaadin:vaadin-client-compiler based on project POM
 remote: [INFO] Using com.vaadin:vaadin-client-compiler version 7.5.10
 remote: [ERROR] Dec 27, 2015 8:36:25 PM java.util.prefs.FileSystemPreferences$1 run
 remote: [ERROR] INFO: Created user preferences directory.
 remote: [INFO] Compiling module your.company.MyAppWidgetset
 Connection to vaadindemo-omio.rhcloud.com closed by remote host.
 fatal: The remote end hung up unexpectedly

我一直在尝试部署这个Vaadin演示应用程序:

mvn archetype:generate -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-application -DarchetypeVersion=7.5.10 -DgroupId=your.company -DartifactId=. -Dversion=1.0 -Dpackaging=war

我的研究得出的最相关结果是:

  • Vaadin forum中提出的这个解决方案对我没有任何影响;
  • this SO post描述了一个与我目前面临的问题不同的问题。

我已通过SSH连接到服务器并验证我的用户拥有 app-root 中的所有目录,但 app-root 本身除外strong> root 但我无权更改它。

不幸的是,我对Vaadin和OpenShift都没有足够的经验可以继续。

如何摆脱Maven构建错误?

编辑:

部署命令实际上是一个git push,其中 origin 是OpenShift中的repo,如documentation中所述。

完整的logpom

0 个答案:

没有答案
相关问题