Closed
Description
Hello,
Looks like there are more than one org.springframework.validation.Validator type beans in context when using spring-boot-starter-web
First one is coming from: jsr303Validator, that is defined in
org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration
Second one is coming from: mvcValidator, that is defined in
org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration.EnableWebMvcConfiguration#mvcValidator
Thanks!
You can check test in sample project: https://github.com/okohub/validatorproblem