Intellij Content is not allowed in prolog
- close Intellij idea
- go to your workspace
- deleting .idea folder
- open your project and import it.
Just Open Workspace.XMl and check is there any In-Valid XML content. Or else delete all from Workspace.xml and compile again.