I am getting this error:
Exception in thread "main" javax.persistence.PersistenceException: No Persistence provider for EntityManager named tarefas at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:61)
My jars is okay, as you can seem in the
pom.xml
My main class:
pom.xml
persistence.xml
It may be the position of the pom.xml file in the wrong location?
Image:
Thanks.