Results 1 to 3 of 3

Thread: Spring Validation.

  1. #1
    Join Date
    Feb 2010
    Posts
    5

    Default 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. #2

    Default ???

    Have you solution this issue?

  3. #3

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •