当我推送到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
我的研究得出的最相关结果是:
我已通过SSH连接到服务器并验证我的用户拥有 app-root 中的所有目录,但 app-root 本身除外strong> root 但我无权更改它。
不幸的是,我对Vaadin和OpenShift都没有足够的经验可以继续。
如何摆脱Maven构建错误?
编辑:
部署命令实际上是一个git push,其中 origin 是OpenShift中的repo,如documentation中所述。