I tried generating an intellij project for Hibernate but got a "Cause:
org.xml.sax.SAXParseException: Premature end of file." error.
To work around this, I used the following command which seemed to help.
gradle cleanIdea idea
I also ran the ^ command with a newer version (Gradle 0.9-rc-3) of
gradle, in case that helps others hitting the same parse error.
Scott