Exception in thread "main" javax.persistence.PersistenceException: No Persistence provider for EntityManager named livrariaPU

Bom dia galera!

Já vi vários posts com este mesmo erro porém não consegui resolver o meu caso. Já analisei o persistence.xml, a estrutura de pasta e nada resolveu. Estou trabalhando com Maven no NetBeans.

persistence.xml

<persistence-unit name="livrariaPU">
    <provider>org.hibernate.ejb.HibernatePersistence</provider>
    <properties>
        <property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver" />
        <property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/livraria" />
        <property name="javax.persistence.jdbc.user" value="root" />
        <property name="javax.persistence.jdbc.password" value="root" />
              
        <property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5InnoDBDialect" />
        <property name="hibernate.show_sql" value="true" />
        <property name="hibernate.format_sql" value="true" />
        <property name="hibernate.hbm2ddl.auto" value="update"/>
    </properties>
</persistence-unit>

estrutura das pastas:
Livraria
-Páginas Web
–WEB-INF
-Pacote de Códigos-fonte
-Pacotes de Teste
-Outros Códigos-fonte
–src/main/resources
—META-INF
----persistence.xml

Bom dia,

Não está encontrando a sua unidade de persistência.

Tente adicionar a biblioteca hibernate-entitymanager-4.x.x.jar (se estiver usando hibernate 4) e hibernate-entitymanager-5.x.x.jar e por ai vai.