Joachim wrote:
Hello,
I'm getting this error in an Jface application:
"The type org.eclipse.core.commands.common.EventManager cannot be resolved. It is indirectly referenced from required .class files"
The code Eclipse is complaining about, is this:
public class ViewRecordLabelProvider extends LabelProvider implements
ITableLabelProvider {
This used to work with 3.2 M3. Am I missing a CLASSPATH entry? Help is appreciated!
In 320M4 there was some reshuffling to fix
ListListener. That
particular class is in org.eclipse.core.commands ... you should be able
to use that as a JAR (not a plugin) in your JFace app.
You could open an enhancement request to remove that dependancy,
and the
response would explain why it's there and if there are other options (a
number of the other dependancies were moved into
org.eclipse.equinox.common.
Later,
PW
本文解决了一个在Eclipse JFace应用中遇到的问题:类型org.eclipse.core.commands.common.EventManager无法解析。文中提供了该问题的背景信息及解决方案,建议将特定类作为JAR文件而非插件使用,并提到了依赖项变动的情况。
17万+

被折叠的 条评论
为什么被折叠?



