2016-12-15 70 views
0

我試圖通過eclipse openshift插件將我的java/spring啓動應用程序發佈到openshift雲平臺,並在'準備構建部署'中找到答案。爲了確定我整天都在等,但沒有變化。openshift eclipse發佈卡住

重新啓動應用程序和清潔它沒有工作

有什麼辦法來解決這個問題,或者任何其他的方式來部署我春天啓動的應用程序使用ssh連接等,以openshift ...

這裏是控制檯輸出:

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ site --- 
[INFO] Using 'UTF-8' encoding to copy filtered resources. 
[INFO] Copying 1 resource 
[INFO] Copying 1406 resources 
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ site --- 
[INFO] Changes detected - recompiling the module! 
[INFO] Compiling 13 source files to /var/lib/openshift/581b33a789f5cf45fd000026/app-root/runtime/repo/target/classes 
[WARNING] /var/lib/openshift/581b33a789f5cf45fd000026/app-root/runtime/repo/src/main/java/org/site/models/AnasayfaDuzen.java: /var/lib/openshift/581b33a789f5cf45fd000026/app-root/runtime/repo/src/main/java/org/site/models/AnasayfaDuzen.java uses or overrides a deprecated API. 
[WARNING] /var/lib/openshift/581b33a789f5cf45fd000026/app-root/runtime/repo/src/main/java/org/site/models/AnasayfaDuzen.java: Recompile with -Xlint:deprecation for details. 
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ site --- 
[INFO] Using 'UTF-8' encoding to copy filtered resources. 
[INFO] skip non existing resourceDirectory /var/lib/openshift/581b33a789f5cf45fd000026/app-root/runtime/repo/src/test/resources 
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ site --- 
[INFO] Changes detected - recompiling the module! 
[INFO] Compiling 1 source file to /var/lib/openshift/581b33a789f5cf45fd000026/app-root/runtime/repo/target/test-classes 
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ site --- 
[INFO] Tests are skipped. 
[INFO] 
[INFO] --- maven-war-plugin:2.4:war (default-war) @ site --- 
[INFO] Packaging webapp 
[INFO] Assembling webapp [site] in [/var/lib/openshift/581b33a789f5cf45fd000026/app-root/runtime/repo/target/site] 
[INFO] Processing war project 
[INFO] Webapp assembled in [10915 msecs] 
[INFO] Building war: /var/lib/openshift/581b33a789f5cf45fd000026/app-root/runtime/repo/webapps/ROOT.war 
[INFO] 
[INFO] --- spring-boot-maven-plugin:1.4.1.RELEASE:repackage (default) @ site --- 
[INFO] Replacing main artifact webapps/ROOT.war to /var/lib/openshift/581b33a789f5cf45fd000026/app-root/runtime/repo/target/site.war 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD SUCCESS 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 44.136s 
[INFO] Finished at: Thu Dec 15 01:22:27 EST 2016 
[INFO] Final Memory: 25M/170M 
[INFO] ------------------------------------------------------------------------ 
Preparing build for deployment 

感謝您的幫助

回答

0

您是否嘗試過檢查你的日誌文件,瞭解有關問題的更多信息,你 是具有?

您可以使用rhc tail命令或sshing進入應用程序並查看〜/ app-root/logs目錄來檢查日誌文件。

您可以在我們的Developer Portal

中瞭解更多關於檢查您的日誌文件的信息