user7693832
user7693832

Reputation: 6849

Whats the matter of the folder hierarchy my project in IntelliJ IDEA?

Today when I open my project, there is some problem in my folder hierarchy, you can see the below, there is no packages here:

enter image description here

In general, the common folder hierarchy should like this:

EDIT

I have tried reopen the project and reopen my IntelliJ IDEA. Both do not work.

Upvotes: 2

Views: 289

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 401965

Delete .idea directory and *.iml files, then Open pom.xml from the Welcome screen.

This issue can happen if .idea/modules.xml is corrupted or if any of the *.iml files are not found/invalid.

Reimporting the project from Maven should help. In case it doesn't work, refer to this answer for diagnostics.

Upvotes: 1

Related Questions