java.lang.ClassCastException: incompatible with org.hibernate.impl.SessionImpl

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 openxava by paulalvarez
, 1 year ago incompatible with org.hibernate.impl.SessionImpl
via openxava by achurilov
, 1 year ago
oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl cannot be cast to org.hibernate.impl.SessionImpl
java.lang.ClassCastException: incompatible with org.hibernate.impl.SessionImpl
at org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingHibernate(
at org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(
at org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(
at org.openxava.annotations.parse.AnnotatedClassParser.parse(
at org.openxava.component.ComponentParser.parseAnnotatedClass(
at org.openxava.component.ComponentParser.parse(
at org.openxava.component.MetaComponent.get(

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.