I have fixed this in hibernate master branch
Hi There,
I'm new here, found this thread through searching for a solution for my problem. I'm using hibernate 4 in combination with a gwt-project. After adding hibernate-envers i get this error java.util.ServiceConfigurationError: org.hibernate.integrator.spi.Integrator: Provider org.hibernate.envers.event.EnversIntegrator could not be instantiated: java.lang.ClassCastException. I already tried to adapt the solution posted here using an own build fixing the classloader impl...
Anyway, that doesn't helped at all..
Maybe someone here has an idea?
thanks a lot
I guess it is caused by this issue https://hibernate.onjira.com/browse/HHH-7084
Thanks for your fast answer.
Great that you pointed to that post
----> "There is a second `new ClassLaoder()` invocation that needs fixing line 200 (in loadJavaServices)"
This is what i overread somehow in the comments and just "corrected" the first postede solution. Now, changings this line mentioned as well it seems to work.
Thanks a lot!