When using Forge 2.12.1.Final from CLI in JBDS 8.0.0.Final, when setting up JPA using the following command:jpa-setup --dbType MYSQL,
the persistence.xml file is created but Eclipse (Dali) reports a problem because
No persistence unit defined in META-INF/persistence.xm
In fact, there is no such error. Trigger a new validation on the file fixes the problem.
Note: this problem does not occur with Forge wizards, as kaers@redhat.com reported.