I am back again. So, this post is about an error “The resource is not on the build path of a java project eclipse” in Eclipse IDE when you try to navigate using F3 key or Ctrl+(left mouse click) to any Java resource.
I had a similar error recently as I deleted the entire src(source) folder in the project and replaced the same folder from some other place.
I tried to search but could not find something really to the point answer. Then I tried myself. This is how I removed the error:
- Right click on the src(source) folder.
Select “Build Path”
Select “Use as Source Folder”
And you are done. Just close all open tabs and re-open them if you still can not navigate. Enjoy coding…
Manohar Bhattarai (मनोहर भट्टराई)
Facebook : http://www.facebook.com/pages/Manohar-Bhattarai/130973796914160
Twitter : http://twitter.com/mhrbhattarai
Identica : http://identi.ca/manoharbhattarai