workspace.xml file corrupted (Error on line 1: Content is not allowed in prolog) in IntelliJ, how can I fix it? workspace.xml file corrupted (Error on line 1: Content is not allowed in prolog) in IntelliJ, how can I fix it? xml xml

workspace.xml file corrupted (Error on line 1: Content is not allowed in prolog) in IntelliJ, how can I fix it?


I experienced the same error. I deleted the workspace.xml and started 'Invalid Caches/Restart" under "File". Then I had to recreate my Run/Debug Configuration. Then everything works like before.


I experienced same problem.you can solve it by deleting ant.xml, then everything will be fine.


In my case the file encoding of the workspace.xml file was wrong. Converting it back to UTF-8 solved it for me.