[hibernate-dev] Integrators on Tomcat

Adam Warski adam at warski.org
Mon Oct 3 05:05:20 EDT 2011


Hello,

was Hibernate4 integrator discovery tested on Tomcat7? I have two users reporting that they tried to use Hibernate 4 with Envers on Tomcat 7, and both have the same exception:

 Servlet.service() for servlet Provider org.hibernate.envers.event.EnversIntegrator not found in context with path/jpaproy threw exception [org.hibernate.integrator.spi.Integrator:
Provider org.hibernate.envers.event.EnversIntegrator not found] with root cause
java.util.ServiceConfigurationError: org.hibernate.integrator.spi.Integrator: Provider org.hibernate.envers.event.EnversIntegrator not found

which would mean that the file in META-INF specifying the integrator is visible, but the class itself - not.

Adam

-- 
Adam Warski

http://twitter.com/#!/adamwarski
http://www.softwaremill.com
http://www.warski.org












More information about the hibernate-dev mailing list