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 the required jars to it.
Now the problem is that when ever I do a Call Hierarchy on a Project, it displays an alert box saying "The resource is not on the build path of a java project"
Could somebody please let me know how to resolve this?
Please see the image here:
Thanks
In Eclipse select the web project and right-click Build Path > Configure Build Path. This will display the Java Build Path window.
You can add the src
folder to build path by:
src
folder.And you are done. Hope this help.
EDIT: Refer to the Eclipse documentation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With