Fix FTBFS with Hibernate Validator 5.x
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
Activity
Please register or sign in to reply