未找到“org.eclipse.ui.menus”的模式扩展点
我安装的eclipse版本是10.0.1。当我添加扩展点 "org.eclipse.ui.menus"
并单击右键创建子菜单选项时,它只显示一个“Generic”。
它说有3个警告:
No schema found for the "org.eclipse.ui.menus" extension point
我该如何解决这个问题?
The eclipse version I have installed is 10.0.1. When I add an extension point "org.eclipse.ui.menus"
and when I click right to create a sub menu option, it only shows me a "Generic".
And it says that there are 3 warnings:
No schema found for the "org.eclipse.ui.menus" extension point
How can I solve this problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我在 Eclipse 4.3 中遇到了同样的问题。发生这种情况是因为缺少 Eclipse 插件的源包。通过以下步骤解决了这个问题:
他们
I met the same problem in Eclipse 4.3. It occurred because of the absence of source bundles for eclipse plugins. Resolved it by the following steps:
them
此扩展的架构在
org.eclipse.ui
包中定义。确保您已在目标平台中添加了org.eclipse.ui
(org.eclipse.ui.source
) 包的附加源包。在此捆绑包中,.exsd 架构位于显示特定于扩展的表单所需的位置。The schema for this extension is defined in the
org.eclipse.ui
bundle. Make sure you have added the appended source-bundle of theorg.eclipse.ui
(org.eclipse.ui.source
) bundle in your target-platform. In this bundle the .exsd schema is located that is required to show the extension-specific forms.对我来说,解决方案是创建一个新的工作区,而不是重新使用旧的 eclipse-luna 工作区(在从 eclipse-luna 升级到 eclipse-mars 期间)
For me the solution was to create a fresh workspace, instead of re-using the old eclipse-luna workspace ( during upgrade from eclipse-luna to eclipse-mars )