Here's a fun one. I did search for this issue but didn't seem to find anything that helped, including the following questions which seemed most closely related:
The path you see in the screenshot is not the path that leads to the IML. Not even by a long shot. This is created when opening the project initially but, on exiting IDEA, it seemingly disappears and I have to reimport the project all over again. I am stumped here. I spent a couple of days digging through SO, and the internet in general but can't seem to find anything related to this specific error or anything that has helped at all. Any input would be great. This is on a fresh installation of IDEA, and I have cleared the caches with no observable effect.
CodePudding user response:
Try to close the project and the IDE, open the project root directory in the OS file explorer, delete all.iml files and the .idea directory, and reimport the project from existing sources