无法在Eclipse中编译 - 未处理的事件循环异常

时间:2013-08-05 05:21:10

标签: eclipse gwt google-plugin-eclipse

我无法在Eclipse中编译我的gwt应用程序。在Maven外面工作 虽然是Eclipse。我收到了与IPixelConverter相关的错误(请参阅 下面是完整的堆栈跟踪)。 Eclipse的版本是3.5.1 (SpringSource Tool Suite2.3.0)和GWT插件2.1.0版 从3.5更新站点安装。

为什么它不起作用的任何想法?

**

  

eclipse.buildId = 2.3.0.200912171331-RELEASE java.version = 1.6.0_22   java.vendor = Sun Microsystems Inc. BootLoader常量:OS = win32,   ARCH = x86_64,WS = win32,NL = sv_SE框架参数:-product   com.springsource.sts.ide命令行参数:-os win32 -ws win32   -arch x86_64 -product com.springsource.sts.ide

**

java.lang.NoClassDefFoundError: com/google/gdt/eclipse/platform/shared/
ui/IPixelConverter
        at
com.google.gwt.eclipse.core.compile.ui.GWTCompileDialog.createAdvancedOptions(GWTCompileDialog.java:
337)
        at
com.google.gwt.eclipse.core.compile.ui.GWTCompileDialog.createDialogArea(GWTCompileDialog.java:
250)
        at
org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:
147)
        at
com.google.gwt.eclipse.core.compile.ui.GWTCompileDialog.createContents(GWTCompileDialog.java:
215)
        at org.eclipse.jface.window.Window.create(Window.java:431)
        at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
        at org.eclipse.jface.window.Window.open(Window.java:790)
        at
com.google.gwt.eclipse.core.actions.GWTCompileToolbarAction.run(GWTCompileToolbarAction.java:
64)
        at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:
251)
        at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:
229)
        at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:
584)
        at org.eclipse.jface.action.ActionContributionItem.access
$2(ActionContributionItem.java:501)
        at org.eclipse.jface.action.ActionContributionItem
$6.handleEvent(ActionContributionItem.java:452)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
3880)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
2405)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
        at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
332)
        at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
493)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
149)
        at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:
113)
        at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
194)
        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:
368)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: java.lang.ClassNotFoundException:
com.google.gdt.eclipse.platform.shared.ui.IPixelConverter
        at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:
494)
        at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
410)
        at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
398)
        at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:
105)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 38 more

1 个答案:

答案 0 :(得分:0)

我上面遇到同样的问题。

错误发生错误。有关详细信息,请参阅错误日志COM /谷歌/ GDT /蚀/平台/共享/ UI / IPixelConverter。

您需要安装/重新安装 “Jetty-9 Bundles Composite Repository” - http://download.eclipse.org/jetty/updates/jetty-bundles-9.x 仅限清单:码头 - 捆绑:所有码头捆绑。