With my last restart of my mac I had a problem with IntelliJ IDEA project : the .iml file was deleted and I have
Error loading project: cannot load module cars-service Details ....
in the console.
Besides that, the structure view of the project has disapeared. Here is a screenshot:
Finally, I imported my project via import project so the iml file was recreated.
Closing intelliJ. Deleting the .idea folder and re-opening intellij worked for me.
This happened to me this morning*, and fortunately there's a fairly straightforward solution.
Ctrl+Alt+Shift+S
(or go to File > Project Structure...
) and click Modules
on the left of the window.+
above the list of modules then New Module
. Select the type of module (Java, Android, Flash, what have you) and click Next
.(*I... got a bit gung-ho with the old git clean -fd
. I don't recommend it.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With