2

当我在项目树中导航(例如打开包等)时,它们总是显示错误消息框:

在“装饰计算”期间发生内部错误。org/eclipse/jdt/internal/debug/ui/MemberActionFilter

这是 /.workspace/.log 中的日志:

!ENTRY org.eclipse.core.jobs 4 2 2013-11-01 17:29:23.513
!MESSAGE An internal error occurred during: "Decoration Calculation".
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/debug/ui/MemberActionFilter
    at org.eclipse.jdt.internal.debug.ui.ActionFilterAdapterFactory.getAdapter(ActionFilterAdapterFactory.java:42)
    at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:295)
    at org.eclipse.core.runtime.PlatformObject.getAdapter(PlatformObject.java:66)
    at org.eclipse.ui.internal.util.Util.getAdapter(Util.java:110)
    at org.eclipse.ui.internal.ActionExpression$ObjectStateExpression.getActionFilter(ActionExpression.java:471)
    at org.eclipse.ui.internal.ActionExpression$ObjectStateExpression.preciselyMatches(ActionExpression.java:524)
    at org.eclipse.ui.internal.ActionExpression$ObjectStateExpression.isEnabledFor(ActionExpression.java:499)
    at org.eclipse.ui.internal.ActionExpression$SingleExpression.isEnabledFor(ActionExpression.java:743)
    at org.eclipse.ui.internal.ActionExpression.isEnabledFor(ActionExpression.java:1053)
    at org.eclipse.ui.internal.decorators.DecoratorDefinition.isEnabledFor(DecoratorDefinition.java:281)
    at org.eclipse.ui.internal.decorators.DecoratorManager.getDecoratorsFor(DecoratorManager.java:382)
    at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecoratorsFor(LightweightDecoratorManager.java:315)
    at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:340)
    at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
    at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

仅供参考,我在 Ubuntu 13.10 64 位上使用 Eclipse for Java EE (Kepler)

对不起我的英语:D

4

2 回答 2

3

我在 Debian Jessie 上使用开普勒时遇到了同样的问题。但我意识到 Eclipse 是从我在上一次会议中分离出来的第二个飞行窗口开始的,以与课程进行比较。我告诉 Eclipse 在 Windows 菜单中“重置透视”并重新启动。那成功了。

于 2016-02-18T09:27:47.247 回答
1

关闭 Eclipse 从工作区复制到您的项目(项目)到临时目录删除 ./workspace/.metadata 运行 Eclipse 并使用复制源代码导入您的项目

于 2014-01-15T04:44:48.570 回答