Your best bet is to just try pulling in the newest versions of Hibernate as dependencies. 3.4.2 relies on the newer version (3.5-ish).
On Wed, Jun 9, 2010 at 2:48 PM, Shawn Winnington-Ball <[email protected]>wrote: > Greetings all, > > I've followed the instructions to build 3.4.2 using the Maven2 > overlay method[1]. I have configured pom.xml and deployerConfigContext.xml > under $PROJECT_HOME to enable authentication to our local AD via > LDAP, and that all works like a charm. > > I'm running into problems when I add the Hibernate components[2], > which previously worked well for us in 3.3.5. The additions to > deployerConfigContext.xml result in this error at startup: > > java.lang.AbstractMethodError: > org.hibernate.ejb.HibernatePersistence.getProviderUtil()Ljavax/persistence/spi/ProviderUtil; > at javax.persistence.Persistence$1.isLoaded(Persistence.java:78) > at > org.hibernate.validator.engine.resolver.JPATraversableResolver.isReachable(JPATraversableResolver.java:33) > at > org.hibernate.validator.engine.resolver.DefaultTraversableResolver.isReachable(DefaultTraversableResolver.java:112) > at > org.hibernate.validator.engine.resolver.SingleThreadCachedTraversableResolver.isReachable(SingleThreadCachedTraversableResolver.java:47) > at > org.hibernate.validator.engine.ValidatorImpl.isValidationRequired(ValidatorImpl.java:764) > [...] > > I found a thread in cas-dev from back in January that describes an > issue that looks similar to the one I am experiencing[3]. I've > tried installing a hibernate-validator 4.1.0-SNAPSHOT jar under > $PROJECT_HOME/src/main/webapp/WEB-INF/lib/ but to no avail (I'm in > over my head at this point). > > I found a thread in cas-user that appears to describe a similar > problem[4], but it quickly tapered off. > > Any ideas? I've attached my pom.xml and deployerConfigContext.xml > files in case I've managed to bork something on my own. > > Thanks, > > Shawn > > [1] > https://wiki.jasig.org/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locally+using+the+Maven2+WAR+Overlay+Method > [2] https://wiki.jasig.org/display/CASUM/Configuring > [3] http://www.mail-archive.com/[email protected]/msg00808.html > [4] http://www.mail-archive.com/[email protected]/msg05173.html > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
