Click here to Skip to main content
15,902,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

1 solution

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

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


If it cannot find it, then I'd guess that there is a problem locating the jar file.
 
Share this answer
 
Comments
Richard MacCutchan 5-Nov-10 12:24pm    
He did say it was urgent. :)
Nagy Vilmos 5-Nov-10 15:28pm    
@Richard - Jusr trying to clear things up here.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900