Error Incorporando JPA/Hibernate #443
Replies: 1 comment
-
¡Hola! Parece que estás usando la versión antigua de
...que por defecto viene con dependencias de JPA más actualizadas. Luego de eso, probá de nuevo. Las instrucciones de generación del esquema varían ligeramente y están acá: https://github.com/flbulgarelli/jpa-extras/?tab=readme-ov-file#5-schema-generation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Luego de seguir el instructivo e intentar correr el test del repo de equipos de futbol no se me genera el script “schema.sql” en el directorio raíz del proyecto y me lanza el siguiente error:
Starting schema export
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.buildServiceRegistry()" because "emfb" is null
at org.uqbarproject.jpa.java8.extras.export.JpaSchemaExport$1.(JpaSchemaExport.java:29)
at org.uqbarproject.jpa.java8.extras.export.JpaSchemaExport.execute(JpaSchemaExport.java:25)
at org.uqbarproject.jpa.java8.extras.export.JpaSchemaExport.main(JpaSchemaExport.java:18)
Beta Was this translation helpful? Give feedback.
All reactions