javaeclipseprojectinvisible

Eclipse does not show src file


I have three different projects in my eclipse and yesterday src file became unvisible in one of the projects. Two days ago it was ok and I have no idea how this happened. I can not see src file in project explorer or package explorer.

Project Explorer :

Project Explorer

However, if I look with navigator I can see all files in the directories.

Navigator :

Navigator

I use Eclipse Indigo SR2 and IBM Rational ClearCase for first two project. The other is my local test project.

Do anybody know how can I get back to src file into the project explorer?

Thanks.


Solution

  • Check your Java build path to make sure the src is present. Right click the project and select Build Path -> Configure Build Path. If the src directory is not present in the build path, it will not show up under the Java area as you have shown, but it will be present in the Navigator.