Guest User

Untitled

a guest
Oct 17th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. Caused by: javax.persistence.PersistenceException: [PersistenceUnit: geograph-persistence-unit] Unable to build EntityManagerFactory
  2.    [junit]    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915)
  3.    [junit]    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:890)
  4.    [junit]    at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:57)
  5.    [junit]    at org.hibernate.ogm.jpa.HibernateOgmPersistence.createEntityManagerFactory(HibernateOgmPersistence.java:92)
  6.    [junit]    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
  7.    [junit]    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47)
  8.    [junit]    at org.cloudtm.framework.ogm.HibOgmTxManager.<clinit>(HibOgmTxManager.java:27)
  9.    [junit]    ... 27 more
  10.    [junit] Caused by: org.hibernate.MappingException: Could not get constructor for org.hibernate.ogm.persister.OgmEntityPersister
  11.    [junit]    at org.hibernate.persister.internal.PersisterFactoryImpl.create(PersisterFactoryImpl.java:185)
  12.    [junit]    at org.hibernate.persister.internal.PersisterFactoryImpl.createEntityPersister(PersisterFactoryImpl.java:135)
  13.    [junit]    at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:386)
  14.    [junit]    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1744)
  15.    [junit]    at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:94)
  16.    [junit]    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:905)
  17.    [junit]    ... 33 more
  18.    [junit] Caused by: java.lang.NoSuchMethodException: org.hibernate.ogm.persister.OgmEntityPersister.<init>(org.hibernate.mapping.PersistentClass, org.hibernate.cache.spi.access.EntityRegionAccessStrategy, org.hibernate.cache.spi.access.NaturalIdRegionAccessStrategy, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.engine.spi.Mapping)
  19.    [junit] Caused by: java.lang.NoSuchMethodException: org.hibernate.ogm.persister.OgmEntityPersister.<init>(org.hibernate.mapping.PersistentClass, org.hibernate.cache.spi.access.EntityRegionAccessStrategy, org.hibernate.cache.spi.access.NaturalIdRegionAccessStrategy, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.engine.spi.Mapping)
  20.    [junit]    at java.lang.Class.getConstructor0(Class.java:2706)
  21.    [junit] ERROR: Couldn't find any suitable TxManager
  22.    [junit]    at java.lang.Class.getConstructor(Class.java:1657)
  23.    [junit]    at org.hibernate.persister.internal.PersisterFactoryImpl.create(PersisterFactoryImpl.java:161)
  24.    [junit]    ... 38 more
Add Comment
Please, Sign In to add comment