I have been given a Source Folder (src) of a Java Project. I have created a .project file, kept it inside that folder and imported that Project into Eclipse 3.6 through the Import Existing Projects into Workspace Option and added required jars to it.
Now the Problem is that when ever i do a Call Hierarchy on a Project , It displays a Alert box Saying
"The resource is not on the build path of a java project"
Could anybody please let me know how to resolve this ?
Please see the image here
Thanks
解决方案
You can add the src folder to build path by:
Select Java perspective.
Right click on src folder.
Select Build Path > Use a source folder.
And you are done. Hope this help.