我已经在 Eclipse 中对我已安装的功能进行了更新。现在 Eclipse 不会启动。我已经删除了 .lock 文件。我没有 .snap 文件。我已经重新安装并解压缩了 eclipse 以替换我当前的 eclipse 目录。这是我使用 -clean 运行 eclipse 后的 .log 文件:
!会话 2012-11-07 10:11:05.302 -------------------------------------------------- --------- eclipse.buildId=M20120914-1800 java.version=1.7.0_02 java.vendor=Oracle Corporation BootLoader 常量:OS=win32, ARCH=x86_64, WS=win32, NL=en_US 框架参数: -product org.eclipse.epp.package.mobile.product 命令行参数:-os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.mobile.product -clean
!ENTRY org.eclipse.equinox.event 2 0 2012-11-07 10:11:11.117 !MESSAGE [SCR] 找到名称重复的组件!详细信息: Component1 : Component [ name = org.eclipse.equinox.event activate = activate deactivate = deactivate modified = configuration-policy = optional factory = null autoenable = true immediate = false implementation = org.eclipse.equinox.internal.event.EventComponent state = Unsatisfied properties = serviceFactory = false serviceInterface = [org.osgi.service.event.EventAdmin] 引用 = null 位于 bundle = org.eclipse.equinox.event_1.2.100.v20110502 [329] ] Component2: Component [ name = org .eclipse.equinox。
!ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2012-11-07 10:11:11.151 !MESSAGE [SCR] 找到名称重复的组件!详细信息:组件1:组件[名称=org.eclipse.equinox.p2.transport.ecf激活=激活停用=停用修改=配置策略=可选工厂=空自动启用=真立即=假实施=org.eclipse.equinox.internal .p2.transport.ecf.ECFTransportComponent state = Unsatisfied properties = {p2.agent.servicename=org.eclipse.equinox.internal.p2.repository.Transport} serviceFactory = false serviceInterface = [org.eclipse.equinox.p2.core. spi.IAgentServiceFactory] 引用 = null 位于 bundle = org.eclipse.equinox.p2.transport.ecf_1.0.0.v20111128-0624 [367] ] Component2: Component [ name = org.eclipse.equinox.p2。
!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-11-07 10:11:26.746 !MESSAGE 无法从捆绑包“268”创建类“org.eclipse.e4.core.commands.CommandServiceAddon”!堆栈 0 org.eclipse.e4.core.di.InjectionException:java.lang.ClassCastException:无法在 org.eclipse.e4.core.internal 将 org.eclipse.core.commands.CommandManager 转换为 org.eclipse.core.commands.CommandManager。 di.MethodRequestor.execute(MethodRequestor.java:63) 在 org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:859) 在 org.eclipse.e4.core.internal.di.InjectorImpl。在 org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl. java:253) 在 org.eclipse.e4.core.contexts。org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:105) org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate( ReflectionContributionFactory.java:71) 在 org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:49) 在 org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application. java:254) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:557) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse。 ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543) 在 org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)在 org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) 在 org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 在 org.eclipse .core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) 在 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) 在 org.eclipse.core.runtime .adaptor.EclipseStarter.run(EclipseStarter.java:353) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 在 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:629) 在 org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) 在 org.eclipse.equinox.launcher.Main.run(Main.java: 1438) 在 org.eclipse.equinox.launcher.Main.main(Main.java:1414) 引起:java.lang.ClassCastException:无法将 org.eclipse.core.commands.CommandManager 转换为 org.eclipse.core.commands。 CommandManager at java.lang.Class.cast(Unknown Source) at org.eclipse.e4.core.internal.contexts.EclipseContext.get(EclipseContext.java:566) at org.eclipse.e4.core.commands.CommandServiceAddon.init (CommandServiceAddon.java:30) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 在 sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 在 java.lang.reflect。方法。在 org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) 调用(未知来源)... 27 更多
有没有人看到这个错误并且知道如何解决它?
谢谢