Eclipse 缺少动作集
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11535784/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Eclipse missing action Set
提问by Libathos
I have a problem while opening Eclipse. In the error log it says:
打开 Eclipse 时遇到问题。在错误日志中它说:
unable to find action set org.eclipse.wb.core.ui.actionset
org.eclipse.rse.core.search.searchActionSet
org.eclipse.rse.core.search.searchActionSet
org.eclipse.mylyn.doc.actionSet
org.eclipse.mylyn.context.ui.actionSet
I'm using Eclipse juno(version 4.2) and my ADT is version20 and Java 1.6 Do you have any idea what I am supposed to do?
我正在使用 Eclipse juno(4.2 版),我的 ADT 是 20 版和 Java 1.6 你知道我应该做什么吗?
采纳答案by Ted Hopp
I think that this can happen when features are removed from Eclipse and a workspace is not properly updated. Create a new workspace, import all your projects, and delete the old workspace.
我认为当从 Eclipse 中删除功能并且工作区没有正确更新时,就会发生这种情况。创建一个新工作区,导入所有项目,然后删除旧工作区。
回答by Bogdan Calmac
In general this is a leftover from something you have uninstalled. To get rid of the error, close Eclipse, find the workbench.xml
(XML) and workbench.xmi
(XMI) files in either the
一般来说,这是您卸载的东西的剩余部分。要消除错误,请关闭 Eclipse,在以下任一位置找到workbench.xml
(XML) 和workbench.xmi
(XMI) 文件
.metadata\.plugins\org.eclipse.ui.workbench\
or
或者
.metadata\.plugins\org.eclipse.e4.workbench\
directories within your workspace and remove ALL corresponding lines (search for the package name you see in the message).
工作区中的目录并删除所有相应的行(搜索您在消息中看到的包名称)。
回答by user1525078
I went to the run configurations for the RCP app I had (created using EMF) and I checked the radio box under the Run--> configurations... dialog to "Clear workspace" before running. This fixed the issue about the missing ActionSets. I tried to find the references to the missing ActionSets per the above method and that did not fix the bug (there were no references to the missing ActionSets in the workbench.xml or workbench.xmi files. I am using Kepler SR2 on Mac OS X 10.9.2.
我转到了我拥有的 RCP 应用程序的运行配置(使用 EMF 创建),并在运行前选中了“运行--> 配置...”对话框下的单选框到“清除工作区”。这修复了有关缺少 ActionSet 的问题。我试图按照上述方法找到对缺失的 ActionSet 的引用,但这并没有修复错误(在 workbench.xml 或 workbench.xmi 文件中没有对缺失的 ActionSet 的引用。我在 Mac OS X 上使用 Kepler SR2 10.9.2.
回答by john_cat
I had this problem due to a particular view (although I'm not sure what caused it in the first place). I simply closed the view and restarted Eclipse - problem solved!
由于特定的观点,我遇到了这个问题(虽然我不确定是什么导致了它)。我只是关闭了视图并重新启动了 Eclipse - 问题解决了!