No details on EntityManagerSetupException

After modifying some entities I get these errors on build without any information on the problem. No line number much less the entity name. Am I missing something in the IntelliJ setup?

Caused by: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.7.9.5-jmix): org.eclipse.persistence.exceptions.EntityManagerSetupException

  • Exception [EclipseLink-7155] (Eclipse Persistence Services - 2.7.9.5-jmix): org.eclipse.persistence.exceptions.ValidationException

It should be more logs, bigger error message. This is too little to advise anything.

Hi, I encountered a similar error. You’ll get more info if you try building with --stacktrace option.
In my case, it was due to an entity without a primary key defined.