Changed directories in eclipse, project went all red

I’m trying to correct the structure of an existing eclipse project, so I changed the src path to src/main/java and src/test/java.
the problem is that even after re importing the project, eclipse is acting not correctly.
It says : Cannot resolve XYZ as a Type.

I’m trying to make eclipse ignore the pattern main.java. it should start with org.xx.yy directly..

Screenshot :
directory

How can I fix it ?
Thank you.


Source: eclipse

Leave a Reply