javaeclipseproject-structure

My src in Java Resources suddenly disappear


I'm creating a Dynamic Web Project, and I have src in my Java Resources then suddenly src disappear inside of it. I find out that the src became a context folder in the root along with Java Resources, Build, WEB-INF and WebContent folders. Why did this happen?

This is the src


Solution

  • Verify your java build path of the project and check if src is present there. Right click on the project and select Build Path -> Configure Build Path.If src is not in build path it won't show you can add src folder in your build path of the project by following below steps,

    Also look at perspective is will be in Navigator perspective.