Note that hibernate-validator 3.1.0GA is present in:
http://repository.jboss.com/maven2/org/ ... validator/
but not in
http://repo2.maven.org/maven2/org/hiber ... validator/
The larger issue I'm trying to solve:
I tried using repository.jboss.com as an additional maven repository, but experienced problems identical to
http://opensource.atlassian.com/project ... owse/HV-66. Even though the problem was fixed in hibernate-validator 3.1.0CR2, I still see:
java.lang.NoSuchMethodError: org.hibernate.event.PreUpdateEvent.getSource()Lorg/hibernate/event/EventSource;
at org.hibernate.validator.event.ValidateEventListener.onPreUpdate(ValidateEventListener.java:177)
Here are my hibernate dependencies:
<!-- **********************
Hibernate dependencies
********************** -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>3.3.1.GA</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.4.0.GA</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>3.1.0.GA</version>
</dependency>
<!-- Use Javassist as Hibernate's bytecode provider -->
<dependency>
<groupId>javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.4.GA</version>
</dependency>
<!-- Logging Setup (required) -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.5.2</version>
</dependency>
<dependency>
<groupId>javax.persistence</groupId>
<artifactId>persistence-api</artifactId>
<version>1.0</version>
</dependency>
<!-- **********************
End Hibernate dependencies
********************** -->
Per
http://raibledesigns.com/rd/entry/upgra ... ate_to_3_4