Every time I configure orm.xml
in the Persistance.xml
I get the following:
E CWWJP0015E: An error occurred in the org.hibernate.ejb.HibernatePersistence persistence provider when it attempted to create the container entity manager factory for the XYZ persistence unit. The following error occurred: PersistenceUnit: XYZ Unable to build EntityManagerFactory
If I remove the entry from Persistance.xml
it works fine, but the `Entity Manager is not able to locate the entity class since I am not using JPA annotation.