java.lang.ClassCastException

com.ibm.ws.persistence.EntityManagerImpl incompatible with org.hibernate.impl.SessionImpl

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via openxava by achurilov
    ,
  • Stack trace

    • java.lang.ClassCastException: com.ibm.ws.persistence.EntityManagerImpl incompatible with org.hibernate.impl.SessionImpl at org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingHibernate(AnnotatedClassParser.java:2247) at org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:2162) at org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:2124) at org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:56) at org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:46) at org.openxava.component.ComponentParser.parse(ComponentParser.java:35) at org.openxava.component.MetaComponent.get(MetaComponent.java:60) at org.openxava.tab.Tab.getMetaTab(Tab.java:203) at org.openxava.tab.Tab.getPreferences(Tab.java:843) at org.openxava.tab.Tab.loadUserPreferences(Tab.java:1047) at org.openxava.tab.Tab.setModelName(Tab.java:776)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.