Java 如何将Vaadin部署到OpenShift?
当我推到OpenShift(small gear)git存储库时,我一直遇到这个错误:Java 如何将Vaadin部署到OpenShift?,java,openshift,vaadin,Java,Openshift,Vaadin,当我推到OpenShift(small gear)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-cli
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
我的研究中最相关的结果是:
- 这项建议中的解决方案对我没有任何影响李>
- 这与我目前面临的问题不同
完整和。1)当您说deploy时,您正在运行的确切命令是什么(是maven deploy、war等)?2) 你能分享你完整的pom和日志吗?我能在你的日志文件中看到一些错误<代码>警告:无法锁定用户首选项。Unix错误代码2。表示maven/java进程无法在主目录中写入文件。不确定这是否是致命的,但我相信您应该一次修复一个,然后重试。