Announcement Announcement Module
Collapse
No announcement yet.
How to disable JSR-303 validation [ValidationException: Unable to find a default prov Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    I think you'd better try to avoid that dependency (in build script suppose?).

    Comment

    Working...
    X