当前位置: 代码迷 >> Eclipse >> eclipse无法启动An error has occurred.该怎么解决
  详细解决方案

eclipse无法启动An error has occurred.该怎么解决

热度:84   发布时间:2016-04-23 13:33:05.0
eclipse无法启动An error has occurred.
新手学java。
我下的jdk1.5 开始用的TextPad,想换个开发环境就下了eclipse3.7版本。
解压之后运行eclipse.exe就出现An error has occurred.See the log file D:\eclipse\configuration\1332324256627.log.
百度了半天没个方法能用的。环境变量我也设置了,cmd下用eclipse.exe -clean也不行、
1332324256627.log.内容如下 :
!SESSION 2012-03-21 10:04:16.401 -----------------------------------------------
eclipse.buildId=M20120208-0800
java.version=1.5.0-beta
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 2 0 2012-03-21 10:04:21.700
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-03-21 10:04:21.700
!MESSAGE Bundle org.eclipse.jdt.apt.pluggable.core_1.0.400.v20110305-1450 [110] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2012-03-21 10:04:21.700
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2012-03-21 10:04:21.700
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2012-03-21 10:04:21.700
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2012-03-21 10:04:21.700
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-03-21 10:04:21.700
!MESSAGE Bundle org.eclipse.jdt.compiler.apt_1.0.400.v0110816-0800 [112] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2012-03-21 10:04:21.700
!MESSAGE Missing optionally imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-03-21 10:04:21.700
!MESSAGE Bundle org.eclipse.jdt.compiler.tool_1.0.100.v_B79_R37x [113] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2012-03-21 10:04:21.700
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6

!ENTRY org.eclipse.osgi 4 0 2012-03-21 10:04:21.702
!MESSAGE Application error
!STACK 1
java.util.MissingResourceException: Wrong font data format. Value is: "END NON-TRANSLATABLE"
at org.eclipse.jface.resource.FontRegistry.makeFontData(FontRegistry.java:767)
at org.eclipse.jface.resource.FontRegistry.readResourceBundle(FontRegistry.java:837)
at org.eclipse.jface.resource.FontRegistry.readResourceBundle(FontRegistry.java:342)
at org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:286)
at org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:308)
at org.eclipse.jface.resource.JFaceResources.getFontRegistry(JFaceResources.java:342)
at org.eclipse.jface.window.Window.createShell(Window.java:508)
at org.eclipse.jface.window.Window.create(Window.java:430)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
at org.eclipse.jface.window.Window.open(Window.java:790)
at org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.prompt(ChooseWorkspaceDialog.java:91)
at org.eclipse.ui.internal.ide.application.IDEApplication.promptForWorkspace(IDEApplication.java:296)
at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:237)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:112)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
  相关解决方案