刚刚安装了 Eclipse Juno,从那时起就遇到了透视问题。除了编辑器窗口非常小并且仅限于显示器的一个角落(在调试中;在 Java 透视图中没问题)之外,我在更改透视图时遇到错误。建议?如果我不能解决这个问题,我会回到 Indigo。
当我从 Debug 透视图切换到 Java 透视图时,我得到一个标题为“出现问题”的弹出窗口。弹出窗口中的文本为:发生错误。有关详细信息,请参阅错误日志。
org.eclipse.ui.internal.WorkbenchPage.findPerspective(Lorg/eclipse/ui/IPerspectiveDescriptor;)Lorg/eclipse/ui/internal/Perspective;
The error log shows a stacktrace which starts:
!ENTRY org.eclipse.ui.workbench 4 2 2012-11-26 12:56:50.841
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NoSuchMethodError: org.eclipse.ui.internal.WorkbenchPage.findPerspective(Lorg/eclipse/ui/IPerspectiveDescriptor;)Lorg/eclipse/ui/internal/Perspective;
at com.google.gdt.eclipse.suite.GdtPlugin.maybeAddNewWizardActionsToPerspective(GdtPlugin.java:302)
at com.google.gdt.eclipse.suite.GdtPlugin.access$0(GdtPlugin.java:295)
at com.google.gdt.eclipse.suite.GdtPlugin$1.perspectiveActivated(GdtPlugin.java:206)
at org.eclipse.ui.internal.PerspectiveListenerList$1.run(PerspectiveListenerList.java:74)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.PerspectiveListenerList.fireEvent(PerspectiveListenerList.java:58)
at org.eclipse.ui.internal.PerspectiveListenerList.firePerspectiveActivated(PerspectiveListenerList.java:72)
at org.eclipse.ui.internal.WorkbenchWindow.firePerspectiveActivated(WorkbenchWindow.java:1260)
at org.eclipse.ui.internal.WorkbenchPage$4.handleEvent(WorkbenchPage.java:2834)