Skip to content
Snippets Groups Projects

Fix FTBFS with Hibernate Validator 5.x

Open Ryan Tandy requested to merge rtandy/libspring-java:bug941685 into master

Backport parts of upstream commit 54004e0d78dd92c62429999b77befbc9d9fcdb68. This changes Spring to work with Bean Validation 1.1 only and removes the compile-time dependency on Hibernate Validator 4.x as well as the ability to use BV 1.0.

I tested MethodValidationInterceptor and LocalValidatorFactoryBean and both appear to work correctly. Using Hibernate Validator 5.x does require having an Expression Language impl on the classpath, however I see this as a responsibility of the application (which chooses the BV impl to use) and not of Spring, therefore not accounted for here.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading