Results 1 to 2 of 2

Thread: How to disable JSR-303 validation [ValidationException: Unable to find a default prov

Hybrid View

  1. #1
    Join Date
    May 2005
    Location
    BEEK, The Netherlands
    Posts
    230

    Default How to disable JSR-303 validation [ValidationException: Unable to find a default prov

    Hi,

    I'm getting this error message:
    javax.validation.ValidationException: Unable to find a default provider

    The reason is I have javax.validation on my classpath but no implemetation (like Hibernate Validator).
    The javax.validation is a transitive dependency caused by another 3th party library I have.

    What I would like is to disable Spring to try to find an implementation as I'm not using the validation stuff.

    What would be my best option?

    Note that I'm using a JAva-based config setup (without xml)

  2. #2

    Default

    I think you'd better try to avoid that dependency (in build script suppose?).
    Best regards.

Posting Permissions

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