全新安装后GWT Designer无法启动

时间:2013-03-21 10:36:07

标签: toolkit gwt-designer google-plugin-eclipse

我试图安装Google Web Toolkit设计器但到目前为止没有成功。经过几天的努力,我尝试了许多不同的方法,包括全新安装不同版本的eclipse。 我可以创建一个新的Web应用程序,它运行得很好。我现在的问题是让GWT设计师满意。这是我得到的错误。

无法打开编辑器:无法实例化编辑器类。这通常表示缺少no-arg构造函数或者编辑器的类名在plugin.xml中输入错误。

这些是错误的详细信息

java.lang.ClassNotFoundException:org.eclipse.wb.internal.core.editor.multi.DesignerEditor     在org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)     在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)     在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)     在org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)     在org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)     在org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)     在org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)     在org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)     在org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)     在org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)     在org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)     在org.eclipse.ui.internal.WorkbenchPlugin $ 1.run(WorkbenchPlugin.java:268)     在org.eclipse.swt.custom.BusyIndi​​cator.showWhile(BusyIndi​​cator.java:70)     在org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:264)     在org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:235)     在org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:875)     在org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:609)     在org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)     在org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)     at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)     在org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2945)     在org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)     在org.eclipse.ui.internal.WorkbenchPage.access $ 11(WorkbenchPage.java:2842)     在org.eclipse.ui.internal.WorkbenchPage $ 10.run(WorkbenchPage.java:2793)     在org.eclipse.swt.custom.BusyIndi​​cator.showWhile(BusyIndi​​cator.java:70)     在org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)     在org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)     at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:331)     at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor $ 18.openEditor(AbstractDecoratedTextEditor.java:1969)     at org.eclipse.ui.actions.OpenWithMenu $ 2.handleEvent(OpenWithMenu.java:179)     在org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)     在org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)     在org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)     在org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)     在org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)     在org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)     在org.eclipse.ui.internal.Workbench.access $ 4(Workbench.java:2499)     在org.eclipse.ui.internal.Workbench $ 7.run(Workbench.java:679)     在org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)     在org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)     在org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)     在org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)     在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:344)     在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)     在java.lang.reflect.Method.invoke(Method.java:597)     在org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)     在org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)     在org.eclipse.equinox.launcher.Main.run(Main.java:1410)

我见过很多其他人有同样的问题,并且有不同的解决方案来解决这个问题。我已经尝试过我在论坛上找到的每一个歌曲(创建新的工作区,尝试使用不同的jdk版本,但没有成功。

我的环境:

Eclipse Indigo 3.7 Java 1.6.0_37 Windows 7

非常感谢任何帮助。

谢谢,

Ĵ

1 个答案:

答案 0 :(得分:0)

看起来您可能需要一些窗口构建器插件,请检查(帮助 - >安装新软件)中的indigo更新站点...在“使用”中选择indigo更新站点(它应该在那里) 。然后将过滤器文本设置为“Window”,您应该在“General Purpose Tools”组下看到一些窗口构建器插件。我想你可能需要“WindowBuilder Core”和“WindowBuilder Core UI”,我也有“WindowBuilder GroupLayout支持”,所以如果你愿意,你可以添加它。