更改透视图会导致弹出错误,调试透视图不再起作用 [英] Changing perspective causes popup error, debug perspective no longer functional

查看:90
本文介绍了更改透视图会导致弹出错误,调试透视图不再起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仅安装了Eclipse Juno,此后就出现了观点方面的问题.除了编辑器窗口非常小并限制在显示的一个角上(在Debug中;在Java透视图中可以)之外,更改透视图时也会出错.有什么建议吗?如果无法解决此问题,我将返回Indigo.

Just installed Eclipse Juno, having problems with perspectives since then. In addition to the editor window being very small and confined to one corner of the display (in Debug; it's okay in Java perspective), I am getting errors when changing perspectives. Suggestions? I'm going to go back to Indigo if I can't fix this.

当我从调试"透视图切换到Java透视图时,出现一个名为发生问题"的弹出窗口.弹出窗口中的文本显示为:发生了错误.有关更多详细信息,请参见错误日志.

When I switch from the Debug perspective to the Java perspective I get a popup titled "Problem Occurred." The text in the popup reads: An error has occurred. See error log for more details.

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)

推荐答案

尝试以下步骤:

  1. 使用清洁选项开始您的 eclipse ,将其作为 eclipse -clean .如果使用快捷方式,请转到属性,然后在 target 中添加 -clean .

  1. Start your eclipse with clean option as eclipse -clean. If you are using the shortcut then go to properties and add -clean in the target.

转到 debug 透视图,右键单击右上角的 debug 图标,然后选择 reset .

Go to the debug perspective, right click the debug icon in right top corner and select reset.

希望这可以解决您的问题.

Hope this fixes your problem.

这篇关于更改透视图会导致弹出错误,调试透视图不再起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆