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 dgsalas
, 1 year ago
org.hibernate.search.event.FullTextIndexEventListener cannot be cast to org.hibernate.event.PostInsertEventListener
java.lang.ClassCastException: org.hibernate.search.event.FullTextIndexEventListener cannot be cast to org.hibernate.event.PostInsertEventListener at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:856) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:730) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51) at org.openxava.jpa.XPersistence.getEntityManagerFactory(XPersistence.java:180) at org.openxava.jpa.XPersistence.createManager(XPersistence.java:108) at org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingHibernate(AnnotatedClassParser.java:2110) at org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:2026) at org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:1988) at org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.openxava.util.Objects.execute(Objects.java:193) at org.openxava.util.Objects.execute(Objects.java:112) at org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:54) at org.openxava.component.ComponentParser.parse(ComponentParser.java:34) at org.openxava.component.MetaComponent.get(MetaComponent.java:60) at org.openxava.view.View.getMetaModel(View.java:242) at org.openxava.view.View.getMetaView(View.java:223) at org.openxava.view.View.createMetaMembers(View.java:141) at org.openxava.view.View.getMetaMembers(View.java:120) at org.openxava.view.View.getFirsEditablePropertyId(View.java:3091) at org.openxava.view.View.calculateFocusPropertyId(View.java:3069) at org.openxava.view.View.getFocusPropertyId(View.java:3055)