繁体   English   中英

Eclipse Juno 未启动 - 发生错误。 查看日志文件 [\\.metadata\\.log.]

[英]Eclipse Juno doesn't start - An error has occurred. See the log file [\.metadata\.log.]

我在 Windows 7 机器上使用 Eclipse Juno。

我试过的解决方案 -

  1. 创建新的工作区并尝试 - 不工作
  2. 从退出工作区删除 .metadata 文件夹 - 不工作
  3. eclipse/dir> eclipse -clean - 不工作
  4. 重新安装JDK - 不工作

PS - 我没有任何 .snap 文件

!SESSION 2015-02-23 18:44:21.838 -----------------------------------------------
eclipse.buildId=M20130204-1200
java.version=1.7.0_09
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.osgi 4 0 2015-02-23 18:45:07.694
!MESSAGE An error occurred while automatically activating bundle org.eclipse.core.resources (805).
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.core.resources.ResourcesPlugin.start() of bundle org.eclipse.core.resources.

Caused by: java.lang.InternalError
    at java.util.Currency$1.run(Unknown Source)

Caused by: java.io.FileNotFoundException: E:\lib\currency.data (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    ... 52 more
Root exception:
java.lang.InternalError
    at java.util.Currency$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)

!ENTRY org.eclipse.osgi 4 0 2015-02-23 18:45:07.751
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: org/eclipse/core/resources/IContainer
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:125)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

!ENTRY org.eclipse.ui.ide 4 0 2015-02-23 18:45:07.995
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.stop() of bundle org.eclipse.ui.ide.
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:791)

Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.osgi.framework.debug.EclipseDebugTrace
    at org.eclipse.osgi.framework.debug.FrameworkDebugOptions.setFile(FrameworkDebugOptions.java:439)

Root exception:
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.osgi.framework.debug.EclipseDebugTrace
    at org.eclipse.osgi.framework.debug.FrameworkDebugOptions.setFile(FrameworkDebugOptions.java:439)

尝试在 Java 运行时环境 (JRE) 中重新安装。 如果问题仍然存在,您必须更改或替换您的 JAVA 内部库。

我遇到了同样的问题。 我尝试了不同版本的 Eclipse,现在一切都很好(具体来说,我尝试了较低版本)。

如果它不适合你或者你只想要这个特定版本,我很抱歉,但这就是我在陷入困境后开始工作的方式。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM