我犯了大错,不是在安装一些旧的Blackberry插件之前备份eclipse。现在它无法启动,显示一个错误消息框:“发生错误。请参阅日志文件C:\ eclipse ....”
Logfile前几行读取:
!SESSION 2011-02-15 19:46:31.828 -----------------------------------------------
eclipse.buildId=I20090611-1540
java.version=1.6.0_23
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product
!ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2011-02-15 19:46:32.703
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Another singleton version selected: org.eclipse.equinox.simpleconfigurator_1.0.101.R35x_v20090807-1100
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1297)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
!ENTRY org.eclipse.osgi 4 0 2011-02-15 19:46:32.703
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-1905.jar/ was not resolved.
!ENTRY org.eclipse.osgi 4 0 2011-02-15 19:46:32.703
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
还有另一个日志文件 - 在blackberry插件安装报告
中制作安装:成功。
1073 Successes
0 Warnings
0 NonFatalErrors
0 FatalErrors
并包含已添加到预先存在的安装中的1073个文件。它没有对任何cfg文件修改等提及任何内容。我可以用任何方式恢复基于该日志文件的插件安装吗?还有其他提示吗?
谢谢!
答案 0 :(得分:0)
从plugins目录中删除该文件夹并重新启动eclipse。
答案 1 :(得分:0)
如果您确切知道导致问题的插件/功能,可以尝试在%ECLIPSE_INSTALL%\ plugins和%ECLIPSE_INSTALL%\ features中手动删除与其相关的文件。您应该在删除之前备份文件!
就个人而言,我会从头开始重新安装Eclipse,调试可能非常耗时!