【问题标题】:Eclipse 2020-03 freezes after selecting the workspace选择工作区后 Eclipse 2020-03 冻结
【发布时间】:2020-09-01 06:23:45
【问题描述】:

所有, 我已经安装了 Eclipse 2020-03。当我运行它时,它会在选择工作区后冻结。启用控制台我收到此消息:

osgi> log4j:WARN 找不到记录器的附加程序(org.eclipse.jgit.internal.storage.file.FileSnapshot)。 log4j:WARN 请正确初始化log4j系统。

使用 -debug -console 运行应用程序 我得到以下文本:

Start VM: -Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Dosgi.dataAreaRequiresExplicitInit=true
-Xms256m
-Xmx2048m
-Declipse.p2.max.threads=10
-Doomph.update.url=http://download.eclipse.org/oomph/updates/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
-Djava.class.path=C:\Programs\eclipse\ccp_eclipse_2020_03\eclipse\\plugins/org.eclipse.equinox.launcher_1.5.700.v20200207-2156.jar
-os win32
-ws win32
-arch x86_64
-showsplash
-launcher C:\Programs\eclipse\ccp_eclipse_2020_03\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\Users\rosario martorana\.p2\pool\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1100.v20190907-0426\eclipse_1902.dll
-startup C:\Programs\eclipse\ccp_eclipse_2020_03\eclipse\\plugins/org.eclipse.equinox.launcher_1.5.700.v20200207-2156.jar
--launcher.appendVmargs
-product org.eclipse.epp.package.cpp.product
-debug
-console
-vm C:\Program Files\Java\jre1.8.0_241\bin\server\jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Dosgi.dataAreaRequiresExplicitInit=true
-Xms256m
-Xmx2048m
-Declipse.p2.max.threads=10
-Doomph.update.url=http://download.eclipse.org/oomph/updates/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
-Djava.class.path=C:\Programs\eclipse\ccp_eclipse_2020_03\eclipse\\plugins/org.eclipse.equinox.launcher_1.5.700.v20200207-2156.jar
Install location:
    file:/c:/Programs/eclipse/ccp_eclipse_2020_03/eclipse/
Configuration file:
    file:/c:/Programs/eclipse/ccp_eclipse_2020_03/eclipse/configuration/config.ini loaded
Configuration location:
    file:/c:/Programs/eclipse/ccp_eclipse_2020_03/eclipse/configuration/
Framework located:
    file:/C:/Users/rosario martorana/.p2/pool/plugins/org.eclipse.osgi_3.15.200.v20200214-1600.jar
Loading extension: reference:file:org.eclipse.osgi.compatibility.state_1.1.700.v20200207-2156.jar
        eclipse.properties not found
Framework classpath:
    file:/C:/Users/rosario martorana/.p2/pool/plugins/org.eclipse.osgi_3.15.200.v20200214-1600.jar
    file:/C:/Users/rosario martorana/.p2/pool/plugins/
    file:/C:/Users/rosario martorana/.p2/pool/plugins/org.eclipse.osgi.compatibility.state_1.1.700.v20200207-2156.jar
Splash location:
    C:\Users\rosario martorana\.p2\pool\plugins\org.eclipse.platform_4.15.0.v20200305-0155\splash.bmp
Debug options:
    file:/C:/Users/martorar/Desktop/.options not found
Time to load bundles: 14
Starting application: 3853
osgi> log4j:WARN No appenders could be found for logger (org.eclipse.jgit.internal.storage.file.FileSnapshot).
log4j:WARN Please initialize the log4j system properly.

有什么想法吗?

谢谢,
罗萨里奥

【问题讨论】:

  • 新工作区是否有效 (eclipse -data <path-to-an-empty-directory>)? <workspace>/.log 文件中有什么内容?
  • 安装 Ubuntu 18.04 LTS 后问题解决。问题与缺少的 bash 控制台有关。

标签: eclipse log4j


【解决方案1】:

安装 Ubuntu 18.04 LTS 后问题解决。问题与缺少的 bash 控制台有关。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-11-16
    • 1970-01-01
    • 2021-03-13
    • 2020-08-26
    • 2011-04-09
    • 2012-12-24
    • 2020-07-07
    • 1970-01-01
    相关资源
    最近更新 更多