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 Christian Bauer, 2 years ago
via Hibernate JIRA by Christian Bauer, 1 year ago
java.lang.ClassCastException: org.hibernate.mapping.ManyToOne	at org.hibernate.cfg.annotations.CollectionBinder.bindManyToManySecondPass(CollectionBinder.java:708)	at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:410)	at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:371)	at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:35)	at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1030)	at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:227)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1145)