Reputation: 6849
Today when I open my project, there is some problem in my folder hierarchy, you can see the below, there is no packages 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
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