I am getting resource not on the buildpath of the project [duplicate]
This question already has an answer here: Eclipse: The resource is not on the build path of a Java project 12 answers I am getting The resource is not on the buildpath of the project when I am trying to "Organize imports" or trying to access any class properties. I am building my project with ant.I tried to configure my buildpath in javabuilpath -> Projects but it is not showing me my src folder there.I am not able to use quick assist (ctrl + space) and class related properties because of the same reason and it does not show me any syntax errors also while i am writing my code. please help me.