• Andy Wilkinson's avatar
    Require Bean Validation 1.1 to enable validation auto-configuration · cedac27c
    Andy Wilkinson authored
    Previously, ValidationAutoConfiguration would configure a
    MethodValidationPostProcessor if any Bean Validation 1.0 or later
    implementation was available, however the underlying infrastructure
    requires Bean Validation 1.1 with any implementation or
    Bean Validation 1.0 with Hibernate Validator 4.3.
    
    This caused a problem on TomEE which uses Apache BVal, and Bean
    Validation 1.0 implementation. Spring Framework would identify that
    Bean Validaton 1.0 was being used and then try to load Hibernate
    Validator classes that are not present.
    
    This commit fixes the problem by requiring Bean Validation 1.1 before
    auto-configuring a MethodValidationPostProcessor.
    
    Closes gh-7665
    cedac27c
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-test-support Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...