Olga
Olga

Reputation: 51

Error loading project cannot load module intellij idea

I get an error message in IntelliJ (see screenshot) and I don't know how to fix it. I had that problem before but after restarting IntelliJ it was ok. But not this time. I try almost everything I found online as a solution but nothing worked. Bellow I attach a screenshot with the error message.

Any help would be appreciated!!!! enter image description here

Upvotes: 2

Views: 2156

Answers (2)

Mihai Cazac
Mihai Cazac

Reputation: 177

In fact, you have to delete the offending lines from the modules.xml located in the .idea subfolder of your project directory.

Upvotes: 0

Olga
Olga

Reputation: 51

Fixed. Just delete the .idea from the base of the project and intellij will generate it again with all the files!

Upvotes: 3

Related Questions