Doubt error "Unable to build Hibernate Sessionfactory" Java

Asked

Viewed 1,063 times

2

I received the sources and after doing the server settings, database etc, I have this problem in the compilation. I would appreciate it if someone could indicate a direction in the solution.

[2017-09-11 10:12:46,640] Artifact multlevel-web:war: Error during artifact deployment. See server log for details.
[2017-09-11 10:12:46,640] Artifact multlevel-web:war: java.lang.Exception:
 {"WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"multlevel.war#primary\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"multlevel.war#primary\": javax.persistence.PersistenceException: 
[PersistenceUnit: primary] Unable to build Hibernate SessionFactory
 Caused by: javax.persistence.PersistenceException: [PersistenceUnit: primary] Unable to build Hibernate SessionFactory
    Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing table [tb_cdm]"},"WFLYCTL0412:
 Required services that are not installed:" => ["jboss.persistenceunit.\"multlevel.war#primary\""],"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}
  • This is no compilation problem. This missing table [tb_cdm] hints that Wildfly hoped to find the chart tb_cdm in Postgresql, but this table is not there.

  • Correct Victor, it doesn’t really exist at all.

1 answer

1


This is not compilation problem.

That one missing table [tb_cdm] indicates that Wildfly expected to find the table tb_cdm in Postgresql, but this table is not there.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.