Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/383.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java Openshift工具Eclipse冻结_Java_Eclipse_Git_Openshift_Jboss Tools - Fatal编程技术网

Java Openshift工具Eclipse冻结

Java Openshift工具Eclipse冻结,java,eclipse,git,openshift,jboss-tools,Java,Eclipse,Git,Openshift,Jboss Tools,在Eclipse中创建一个新的Openshift应用程序时,我可以登录,在Openshift上创建一个新的应用程序(当我访问webinterface时会显示),并指定一个存储本地git存储库的位置(我认为ssh可以工作),但当我点击“完成”时,它会在“克隆…”阶段冻结(这是“新建Openshift应用程序”窗口中进度栏的标题)和“将项目导入工作区…”(在后台Eclipse主窗口的状态栏中).有人能帮我吗?请告诉我我还需要提供哪些信息,因为我不熟悉git和Openshift。PS:我正在尝试创建一

在Eclipse中创建一个新的Openshift应用程序时,我可以登录,在Openshift上创建一个新的应用程序(当我访问webinterface时会显示),并指定一个存储本地git存储库的位置(我认为ssh可以工作),但当我点击“完成”时,它会在“克隆…”阶段冻结(这是“新建Openshift应用程序”窗口中进度栏的标题)和“将项目导入工作区…”(在后台Eclipse主窗口的状态栏中).有人能帮我吗?请告诉我我还需要提供哪些信息,因为我不熟悉git和Openshift。PS:我正在尝试创建一个Tomcat 7应用程序

!ENTRY org.eclipse.m2e.logback.configuration 2 0 2015-03-24 19:28:16.547
!MESSAGE Exception while setting up logging:org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
!STACK 0
java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
    at org.eclipse.m2e.logback.configuration.LogHelper.logJavaProperties(LogHelper.java:26)
    at org.eclipse.m2e.logback.configuration.LogPlugin.loadConfiguration(LogPlugin.java:189)
    at org.eclipse.m2e.logback.configuration.LogPlugin.configureLogback(LogPlugin.java:144)
    at org.eclipse.m2e.logback.configuration.LogPlugin.access$2(LogPlugin.java:107)
    at org.eclipse.m2e.logback.configuration.LogPlugin$1.run(LogPlugin.java:62)
    at java.util.TimerThread.mainLoop(Unknown Source)
    at java.util.TimerThread.run(Unknown Source)

!ENTRY org.eclipse.egit.ui 2 0 2015-03-24 19:28:25.245
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\Martin'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2015-03-24 21:13:49.348 -----------------------------------------------
eclipse.buildId=4.4.1.M20140925-0400
java.version=1.8.0_25
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.m2e.logback.configuration 2 0 2015-03-24 21:13:54.176
!MESSAGE Exception while setting up logging:org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
!STACK 0
java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
    at org.eclipse.m2e.logback.configuration.LogHelper.logJavaProperties(LogHelper.java:26)
    at org.eclipse.m2e.logback.configuration.LogPlugin.loadConfiguration(LogPlugin.java:189)
    at org.eclipse.m2e.logback.configuration.LogPlugin.configureLogback(LogPlugin.java:144)
    at org.eclipse.m2e.logback.configuration.LogPlugin.access$2(LogPlugin.java:107)
    at org.eclipse.m2e.logback.configuration.LogPlugin$1.run(LogPlugin.java:62)
    at java.util.TimerThread.mainLoop(Unknown Source)
    at java.util.TimerThread.run(Unknown Source)

!ENTRY org.eclipse.egit.ui 2 0 2015-03-24 21:14:00.226
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\Martin'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

!ENTRY org.eclipse.ui 2 2 2015-03-24 21:16:45.270
!MESSAGE Invalid preference category path: org.jboss.tools.common.model.ui.MainPreferencePage (bundle: org.jboss.tools.openshift.express.ui, page: org.jboss.tools.openshift.express.ui.preferences.OpenShiftPreferencePage)

!ENTRY org.eclipse.ui 2 2 2015-03-24 21:16:45.273
!MESSAGE Invalid preference category path: org.jboss.tools.common.model.ui.MainPreferencePage (bundle: org.jboss.tools.runtime.ui, page: org.jboss.tools.runtime.preferences.RuntimePreferencePage)

!ENTRY org.eclipse.ui 2 2 2015-03-24 21:16:45.275
!MESSAGE Invalid preference category path: org.jboss.tools.common.model.ui.MainPreferencePage (bundle: org.jboss.tools.usage, page: org.jboss.tools.usage.analytics.preferences.UsageAnalyticsPreferencePage)

!ENTRY org.jboss.tools.common.ui 4 0 2015-03-24 21:19:53.738
!MESSAGE The operation 'Importing project to workspace...' was cancelled

检查是否存在任何网络活动,并检查eclipse.log中是否存在错误。这听起来可能很愚蠢,但如何准确地检查网络活动?使用Windows任务管理器?我也从未在eclipse中使用过任何日志功能?每个人的体验都不同。在Windows中,从任务管理器可以从“性能”选项卡。资源管理器有一个“网络”选项卡。在此选项卡上,您应该能够确定哪些进程正在使用网络。在Eclipse中,您可以打开一个错误日志视图,但基础日志文件将位于您的工作区:[工作区]的文件夹中\.metadata\.log感谢您的指导。我按照他们的指示进行了操作,并用今天的日志条目更新了我的问题。但是,我不知道重要的部分在哪里。我认为,如果我这次尝试使用PHP 5.4应用程序,这不会有什么区别,是吗?关于网络活动:在主窗口状态为“import”的某个时刻ting投射到…,OpenShift窗口显示“克隆…”eclipse.exe进程的网络活动不断减少,最后从资源监视器中消失。我建议您执行以下操作。打开命令处理器。调用“%JAVA\u HOME%\bin\jps.exe-v”。它将显示所有id为的JAVA进程。然后调用“%JAVA\u HO”ME%\bin\jstack.exe”。复制整个输出并将问题提交到JBoss Tools JIRA中。