Folders mess up after import project into Eclipse

I have a JAVA project contains multiple folders, and after I imported them into Eclipse, the folders messed up like below.

project folders

How can I put these “src/main/java” folders under the “src” one in eclipse, these folders are well-organized on my file system.

Answer

eclipse detects project type and it adds directory structure in .classpath and .project when you import new project,

if you want to see raw structure, switch to navigator view

windows > show view > navigator

Leave a Reply

Your email address will not be published. Required fields are marked *