Eclipse Juno 未启动 - 发生错误。请参阅日志文件 [\.metadata\.log。]
Eclipse Juno doesn't start - An error has occurred. See the log file [\.metadata\.log.]
我在 windows 7 机器上使用 Eclipse Juno。
我试过的解决方案-
- 创建了新的工作区并尝试了 - 不工作
- 正在从退出工作区删除 .metadata 文件夹 - 不起作用
- eclipse/dir> eclipse -clean - 不工作
- 重新安装 JDK - 不工作
P.S。 -
我没有任何 .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.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.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)
尝试re_installinJava运行时环境(JRE)。如果问题仍然存在,您必须更改或替换 JAVA 的内部库。
我遇到了同样的问题。我尝试使用不同版本的 Eclipse,现在一切正常(具体来说,我尝试了较低版本)。
如果它不适合您或者您只想要这个特定版本,我很抱歉,但这就是我在遇到困难后开始恢复工作的方式。
我在 windows 7 机器上使用 Eclipse Juno。
我试过的解决方案-
- 创建了新的工作区并尝试了 - 不工作
- 正在从退出工作区删除 .metadata 文件夹 - 不起作用
- eclipse/dir> eclipse -clean - 不工作
- 重新安装 JDK - 不工作
P.S。 - 我没有任何 .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.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.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)
尝试re_installinJava运行时环境(JRE)。如果问题仍然存在,您必须更改或替换 JAVA 的内部库。
我遇到了同样的问题。我尝试使用不同版本的 Eclipse,现在一切正常(具体来说,我尝试了较低版本)。
如果它不适合您或者您只想要这个特定版本,我很抱歉,但这就是我在遇到困难后开始恢复工作的方式。