Java – eclipse project hidden SRC folder

For some reason, eclipse has started hiding the "SRC" folder in some but not all of my projects, and I want it

The files under SRC can still be used in other generated views (such as Java resources and deployment resources), but the actual "SRC" folder is hidden in all views including Project Explorer, navigator and open resource (Ctrl Shift R) The inability to navigate through open resources is particularly annoying

Does anyone know why the folder disappeared and how to solve it?

I have a feeling that I have changed a place. I didn't realize the side effects some time ago, but I really worked hard to undo this change The rest of my team is not affected, so I think this is a setting somewhere on my machine

These projects are spring Maven projects using M2e Both affected projects are webapp / war projects, but the other webapp projects are not affected

I try to reduce the reasons for things:

>With and without spring tool suite plug-ins. > Clean installation of eclipse Java EE without additional plug-ins. > Delete and recreate my workspace. > Clean the source code and check it out. > Remove any from the checkout project,. classpath,. Settings file. > Delete and re import all projects through Maven. > Disable all filters in Project Explorer and navigator. > Will be generated between projects Project and The settings files are separated, and there is no obvious difference

The software details are:

>Debian 7,64 bit > Oracle JDK 1.7u25 64 bit. > Eclipse Kepler, Java EE version, Linux 64 bit. > M2e 1.0 from Kepler

Solution

>Right click the item

I will also add Src / main / resources, Src / test / Java, Src / test / resources

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>