您的位置:首页 > 编程语言 > Java开发

The type org.eclipse.core.commands.common.EventManager cannot be resolved. It is indirectly referenced from required .class file

2010-05-02 16:02 886 查看


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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐