问题描述
在构建Eclipse RCP应用程序时,我收到以下错误。
When building my Eclipse RCP Application, I get the following error.
无法解析org.eclipse.core.runtime.IConfigurationElement类型。它是从所需的.class文件间接引用的。
The type org.eclipse.core.runtime.IConfigurationElement cannot be resolved. It is indirectly referenced from required .class files.
我的依赖关系中包含了org.eclipse.core.runtime库,所以我不知道是什么问题
I have included the org.eclipse.core.runtime library in my dependencies, so I am not sure what the problem is.
推荐答案
如
这是图形说明:
双击 MANIFEST.MF
文件,并通过依赖关系选项卡,只需添加 org.eclipse.core.runtime
,它将添加其他依赖关系,包括 org.eclipse.equinox.registry
,其中包括您缺少的课程!
Double-click on the MANIFEST.MF
file, and through the 'Dependencies' tab, just add org.eclipse.core.runtime
, and it will add other dependencies, including org.eclipse.equinox.registry
, which includes your missing class!
这篇关于无法解析org.eclipse.core.runtime.IConfigurationElement类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!