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

spring @async causing BeanCurrentlyInCreationException

Oracle - duplicate fields in RECORD,TABLE or argument list are not permitted