Play - No Persistence provider for EntityManager named defaultPersistenceUnit

Problem:

play No Persistence provider for EntityManager named defaultPersistenceUnit

Solution:

Make sure your file persistence.xml is inside a conf/META-INF subfolder (<project_root>/conf/META-INF/persistence/xml)

Comments

Popular posts from this blog

Hibernate - HibernateException: createQuery is not valid without active transaction