Boa noite gente, estou utilizando wildfly, eclipse e mysql para trabalhar com jpa, não consigo gerar tabelas no banco de dados mysql via JTA do eclips datasource, aparece os sequintes erros no console. Desde já grato.
org.jboss.as.jpa] (ServerService Thread Pool – 91) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service ‘wildlfly.war#wildPU’
22:08:04,998 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool – 91) HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
22:08:05,006 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool – 91) Envers integration enabled? : true
22:08:05,021 INFO [org.hibernate.orm.beans] (ServerService Thread Pool – 91) HHH10005002: No explicit CDI BeanManager reference was passed to Hibernate, but CDI is available on the Hibernate ClassLoader.
22:08:05,031 WARNING [org.jgroups.conf.XmlConfigurator] (ServerService Thread Pool – 91) version is missing in the configuration file
22:08:05,035 WARNING [org.jgroups.conf.XmlConfigurator] (ServerService Thread Pool – 91) version is missing in the configuration file
22:08:05,054 WARNING [org.jgroups.conf.XmlConfigurator] (ServerService Thread Pool – 91) version is missing in the configuration file
22:08:05,058 WARNING [org.jgroups.conf.XmlConfigurator] (ServerService Thread Pool – 91) version is missing in the configuration file
22:08:05,062 WARNING [org.jgroups.conf.XmlConfigurator] (ServerService Thread Pool – 91) version is missing in the configuration file
22:08:05,066 WARNING [org.jgroups.conf.XmlConfigurator] (ServerService Thread Pool – 91) version is missing in the configuration file
22:08:05,117 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool – 91) MSC000001: Failed to start service jboss.persistenceunit.“wildlfly.war#wildPU”: org.jboss.msc.service.StartException in service jboss.persistenceunit.“wildlfly.war#wildPU”: javax.persistence.PersistenceException: [PersistenceUnit: wildPU] Unable to build Hibernate SessionFactory
at org.jboss.as.jpa@20.0.1.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:198)
at org.jboss.as.jpa@20.0.1.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:128)
at org.wildfly.security.elytron-private@1.12.1.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:658)
at org.jboss.as.jpa@20.0.1.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:212)
at org.jboss.threads@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.base/java.lang.Thread.run(Thread.java:835)
at org.jboss.threads@2.3.3.Final//org.jboss.threads.JBossThread.run(JBossThread.java:485)
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: wildPU] Unable to build Hibernate SessionFactory
at org.hibernate@5.3.17.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.persistenceException(EntityManagerFactoryBuilderImpl.java:1327)
at org.hibernate@5.3.17.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1253)
at org.hibernate.jipijapa-hibernate5-3@20.0.1.Final//org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
at org.jboss.as.jpa@20.0.1.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:170)
… 9 more
Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Writing to script was requested, but no script file was specified
at org.hibernate@5.3.17.Final//org.hibernate.tool.schema.internal.HibernateSchemaManagementTool.buildGenerationTargets(HibernateSchemaManagementTool.java:128)
at org.hibernate@5.3.17.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.doCreation(SchemaCreatorImpl.java:114)
at org.hibernate@5.3.17.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performScriptAction(SchemaManagementToolCoordinator.java:262)
at org.hibernate@5.3.17.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:71)
at org.hibernate@5.3.17.Final//org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:310)
at org.hibernate@5.3.17.Final//org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:467)
at org.hibernate@5.3.17.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1250)
… 11 more
22:08:05,121 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation (“full-replace-deployment”) failed - address: ([]) - failure description: {“WFLYCTL0080: Failed services” => {“jboss.persistenceunit.“wildlfly.war#wildPU”” => “javax.persistence.PersistenceException: [PersistenceUnit: wildPU] Unable to build Hibernate SessionFactory
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: wildPU] Unable to build Hibernate SessionFactory
Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Writing to script was requested, but no script file was specified”}}
22:08:05,298 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0016: Replaced deployment “wildlfly.war” with deployment “wildlfly.war”
22:08:05,300 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service jboss.persistenceunit.“wildlfly.war#wildPU”: javax.persistence.PersistenceException: [PersistenceUnit: wildPU] Unable to build Hibernate SessionFactory