Announcement Announcement Module
Collapse
No announcement yet.
Spring Validation. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Validation.

    I am trying to use hibetnate validation library in my SPRING 3.0 project.

    I added

    <mvc:annotation-driven />

    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?

  • #2
    ???

    Have you solution this issue?

    Comment


    • #3
      Do you have the javax.validation library available in your classpath?

      Comment

      Working...
      X