I am trying to use hibetnate validation library in my SPRING 3.0 project.
in my servlet.xml, put hibernate-validator-4.0.2.GA.jar and other related files into classpath (tomcat/lib)
But seems it does not work
nested exception is javax.validation.ValidationException: Unable to get available provider resolvers.
Caused by: java.lang.ClassCastException: org.hibernate.validator.HibernateValidator cannot be cast to javax.validation.spi.ValidationProvider
Any ideas how to make it working?