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

java.lang.ClassCastException: org.hibernate.mapping.Formula	at org.hibernate.cfg.annotations.CollectionBinder.buildOrderByClauseFromHql(CollectionBinder.java:603)	at org.hibernate.cfg.annotations.CollectionBinder.bindOneToManySecondPass(CollectionBinder.java:454)	at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:408)	at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:382)	at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:35)	at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1012)	at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:238)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1168)