java.lang.ExceptionInInitializerError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Annotation exception Hibernate
    via Stack Overflow by user1977204
    ,
    • java.lang.ExceptionInInitializerError at services.HibernateUtil.sessionFactory(HibernateUtil.java:39) at services.HibernateUtil.getSessionFactory(HibernateUtil.java:20) at test.Test.main(Test.java:20) Caused by: org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: domain.Termin.person in domain.Person.termine at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:552) at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:517) at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:43) at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1130) at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:316) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1286) at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915) at services.HibernateUtil.sessionFactory(HibernateUtil.java:36) ... 2 more

    Users with the same issue

    Unknown visitor1 times, last one,
    slash
    4 times, last one,
    Casper
    6 times, last one,
    SteVio1989
    2 times, last one,
    dafman
    2 times, last one,
    3 more bugmates