Eclipse的Google插件 - Eclipse无法启动

时间:2014-02-04 09:28:45

标签: eclipse gwt workbench

我似乎已经成功下载了Eclipse的Google插件(v4.2): http://www.gwtproject.org/usingeclipse.html

下载后,我勾选是重启Eclipse以使插件生效。

它杀死了我当前的Eclipse会话,然后尝试重新启动Eclipse,但只是要求我在启动屏幕(Android Developer Tools黑/绿启动屏幕)之后指定一个新工作区。 / p>

然后它显示以下错误消息: 发生了错误。请参阅日志文件

从现在开始我无法打开Eclipse。

到目前为止,我已采取措施纠正此问题: - 在提示指定时尝试保持相同的工作区 - 在提示指定时尝试创建新工作区 - 使用-clean通过命令提示符启动Eclipse - 从.metadata / .plugins / org.eclipse.e4.workbench中删除workbench.xmi - 从.metadata / .plugins / org.eclipse.core.resources / 文件中删除.snap

当我找不到解决方案时,我完全重新安装了Eclipse。重新安装后,我的工作区和过去的项目工作正常。在我尝试再次安装Google插件之前,一切都很顺利。第二次发生了同样的结果

以下是此事件的日志文件的最后一部分:

!ENTRY org.eclipse.e4.ui.workbench 4 0 2014-02-04 16:24:05.633 !MESSAGE无法创建课程' org.eclipse.e4.core.commands.CommandServiceAddon'来自捆绑' 142' !堆栈0 org.eclipse.e4.core.di.InjectionException:java.lang.ClassCastException:无法将org.eclipse.core.commands.CommandManager转换为org.eclipse.core.commands.CommandManager     在org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)     at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:861)     在org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:113)     at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:321)     在org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:255)     at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:185)     at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:105)     at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)     at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:49)     在org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:258)     在org.eclipse.ui.internal.Workbench $ 5.run(Workbench.java:557)     在org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)     在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)     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)     在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     在java.lang.Class.cast(未知来源)     at org.eclipse.e4.core.internal.contexts.EclipseContext.get(EclipseContext.java:561)     在org.eclipse.e4.core.commands.CommandServiceAddon.init(CommandServiceAddon.java:30)     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)     在org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)     ......还有27个

!ENTRY org.eclipse.e4.ui.workbench 4 0 2014-02-04 16:24:05.643 !MESSAGE无法创建课程' org.eclipse.e4.ui.internal.workbench.addons.CommandProcessingAddon'来自捆绑' 155' !堆栈0 org.eclipse.e4.core.di.InjectionException:无法处理" CommandProcessingAddon.commandService":没有找到参数" ECommandService"的实际值。     at org.eclipse.e4.core.internal.di.InjectorImpl.reportUnresolvedArgument(InjectorImpl.java:396)     at org.eclipse.e4.core.internal.di.InjectorImpl.resolveRequestorArgs(InjectorImpl.java:387)     在org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:102)     at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:321)     在org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:255)     at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:185)     at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:105)     at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)     at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:49)     在org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:258)     在org.eclipse.ui.internal.Workbench $ 5.run(Workbench.java:557)     在org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)     在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)     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)     在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)

!ENTRY org.eclipse.e4.ui.workbench 4 0 2014-02-04 16:24:05.651 !MESSAGE无法创建课程' org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon'来自捆绑' 158' !堆栈0 org.eclipse.e4.core.di.InjectionException:无法处理" BindingProcessingAddon.commandService":没有找到参数" ECommandService"的实际值。     at org.eclipse.e4.core.internal.di.InjectorImpl.reportUnresolvedArgument(InjectorImpl.java:396)     at org.eclipse.e4.core.internal.di.InjectorImpl.resolveRequestorArgs(InjectorImpl.java:387)     在org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:102)     at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:321)     在org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:255)     at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:185)     at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:105)     at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)     at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:49)     在org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:258)     在org.eclipse.ui.internal.Workbench $ 5.run(Workbench.java:557)     在org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)     在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)     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)     在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)

!ENTRY org.eclipse.osgi 4 0 2014-02-04 16:24:05.869 !MESSAGE应用程序错误 !堆栈1 显示java.lang.NullPointerException     在org.eclipse.e4.ui.internal.workbench.E4Workbench.processHierarchy(E4Workbench.java:172)     在org.eclipse.e4.ui.internal.workbench.E4Workbench.init(E4Workbench.java:118)     在org.eclipse.e4.ui.internal.workbench.E4Workbench。(E4Workbench.java:69)     在org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:306)     在org.eclipse.ui.internal.Workbench $ 5.run(Workbench.java:557)     在org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)     在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)     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)     在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)

2 个答案:

答案 0 :(得分:0)

以前,我从官方安卓网站下载ADT SDK包。这只给你Eclipse 4.2,而不是4.3。因此,我最初必须下载4.2版本的谷歌插件才能与我的Eclipse版本相匹配 - 这就是我收到上述错误的地方。

以下是我的修复:

我没有下载ADT SDK包,而只是全新下载Eclipse,然后分别添加了SDK工具/ ADT插件/平台工具/平台/系统映像。从官方的Eclipse站点,我可以下载Eclipse 4.3。

然后我下载了Google插件4.3。它似乎工作正常。因此,Eclipse 4.2和Google插件4.2组合似乎存在问题。

答案 1 :(得分:0)

我遇到与你完全相同的问题,我想我可能会被迫卸载并重新安装整个Eclipse。我为eclipse 4.2安装了eclipse 4.2的谷歌插件,现在我继续使用长元数据日志获取错误消息。

我很惊讶谷歌网站上的常见问题解答没有讨论这个错误。这真是令人沮丧,我希望在我盲目地相信谷歌插件无故障地工作之前我找到了这个帖子。

相关问题