Eclipse org.eclipse.core.runtime问题 [英] Eclipse org.eclipse.core.runtime issue

查看:549
本文介绍了Eclipse org.eclipse.core.runtime问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IJavaProject javaProject = JavaCore.create(project);

我已导入以下插件
导入org.eclipse.core.resources.IProject;
导入org.eclipse.core.runtime.*;

但它给了我错误
无法解析org.eclipse.core.runtime.jobs.ISchedulingRule类型.它是从所需的.class文件中间接引用的".
我已经导入了org.eclipse.core.runtime.*,如何解决这个问题?但仍然给我错误.有帮助吗?
迫切需要在明天之前交付功能,此错误使我无法继续操作.

问候
Lehmia kiran

IJavaProject javaProject = JavaCore.create(project);

I have imported following plugins
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.*;

but its giving me error
"The type org.eclipse.core.runtime.jobs.ISchedulingRule cannot be resolved. It is indirectly referenced from required .class files"

how to solve this problem as i have imported org.eclipse.core.runtime.*; but still its giving me error.Any help??
its urgent as i have to deliver functionality by tomorrow, n this error dun allow me to proceed.

Regards
Lehmia kiran

推荐答案

您已经导入了插件,但是可以解析该文件吗?尝试将其放入您的代码中:

You have imported the plugins, but can you resolve the file? try putting this into your code:

private org.eclipse.core.runtime.jobs.ISchedulingRule test;



如果找不到它,那我猜找不到jar文件.



If it cannot find it, then I''d guess that there is a problem locating the jar file.


这篇关于Eclipse org.eclipse.core.runtime问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆