Não está criando no banco de dados org.h2.Driver
jul. 24, 2022 7:58:57 PM org.hibernate.jpa.boot.internal.PersistenceXmlParser doResolve INFO: HHH000318: Could not find any META-INF/persistence.xml file in the classpath Exception in thread "main" java.lang.ExceptionInInitializerError at br.com.alura.loja.testes.CadastrodeProduto.main(CadastrodeProduto.java:17) Caused by: javax.persistence.PersistenceException: No Persistence provider for EntityManager named loja at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:85) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:54) at br.com.alura.loja.util.JPAUtil.(JPAUtil.java:10) ... 1 more
Esse é meu <?xml version="1.0" encoding="UTF-8"?>
<persistence-unit name="loja" transaction-type="RESOURCE_LOCAL">
<properties>
<property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/>
<property name="javax.persistence.jdbc.url" value="jdbc:h2:mem:loja"/>
<property name="javax.persistence.jdbc.user" value="sa"/>
<property name="javax.persistence.jdbc.password" value=""/>
<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.hbm2ddl.auto" value="update"/>
</properties>
</persistence-unit>