|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
ClassCastException in 0.6I'm getting a CCE in when trying the sample application with the newest (trunk) RAD version found on svn. I followed the instructions on http://sites.google.com/site/wicketrad/getting-started, got the source via svn and built it successfully. But when running the example app...
Here's my stacktrace: 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:83) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60) at org.wicketrad.jpa.PersistenceManagerFactory.getEntityManager(PersistenceManagerFactory.java:38) at org.wicketrad.jpa.DataRequestCycle.onBeginRequest(DataRequestCycle.java:43) at org.apache.wicket.RequestCycle.prepare(RequestCycle.java:1178) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1240) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1366) at org.apache.wicket.RequestCycle.request(RequestCycle.java:498) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:444) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) |
|
|
Re: ClassCastException in 0.6Thanks for the report! I will try to have a look at it and fix it later today. Must have been introduced very recently, which is quite possible.
|
|
|
Re: ClassCastException in 0.6Hi,
Could you give me a little more information on how you reproduce the error? I can't seem to reproduce it.. The one thing that does throw me off a little is the reference to the class org.hibernate.search.event.FullTextIndexEventListener , as Hibernate Search is not a dependency of the sample application to my recollection. Is it possible that you are running and/or have changed the config in some way, so that there may be conflicting configurations and/or dependencies or something to that effect?
|
|
|
Re: ClassCastException in 0.6ok, here in my office, everything works. I don't know why but it does. Maybe it's the m2eclipse plugin I've used. I'll try to reproduce it here.
|
|
|
Re: ClassCastException in 0.6That could potentially be the case - last time I used m2eclipse it was way too brittle and undependable, so I canned it.. Maven itself has a lot of classpath issues, and m2eclipse tends to aggrevate them by mixing it with the Eclipse classpath..
|
| Free embeddable forum powered by Nabble | Forum Help |