org.hibernate.AnnotationException: Collection of elements must not have mappedBy or association reference an unmapped entity: com.wotif.jaguar.domain.booking.Booking.bookingInvoices
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Solutions on the web
via Hibernate JIRA by Robert Watkins, 2 years ago
via Hibernate JIRA by Robert Watkins, 1 year ago
via Stack Overflow by Dave
, 2 years agovia Stack Overflow by Jerry Schirmer
, 2 years agovia Stack Overflow by Marco
, 2 years agovia Stack Overflow by Valter Henrique
, 1 year agoorg.hibernate.AnnotationException: Collection of elements must not have mappedBy or association reference an unmapped entity: com.wotif.jaguar.domain.booking.Booking.bookingInvoices
at org.hibernate.cfg.annotations.CollectionBinder.bindManyToManySecondPass(CollectionBinder.java:703)
at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:421)
at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:382)
at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:35)
at org.hibernate.cfg.annotations.CollectionBinder.bind(CollectionBinder.java:331)
at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1296)
at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:629)
at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:276)
at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:210)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1156)
at com.wotif.jaguar.util.HibernateTestUtil.buildSesssionFactory(HibernateTestUtil.java:131)