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 Heiko Briebrecher, 1 year ago
Cannot mix @javax.persistence.MakKey and @org.hibernate.annotations.MapKey on the same collection: SingleClassTestCase$Parent.children
via Hibernate JIRA by Heiko Briebrecher, 2 years ago
Cannot mix @javax.persistence.MakKey and @org.hibernate.annotations.MapKey on the same collection: SingleClassTestCase$Parent.children
org.hibernate.AnnotationException: Cannot mix @javax.persistence.MakKey and @org.hibernate.annotations.MapKey on the same collection: SingleClassTestCase$Parent.children at org.hibernate.cfg.annotations.CollectionBinder.bind(CollectionBinder.java:258) at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1367) at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:650) at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:326) at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:238) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1172)