title: Multiple @ConfigurationProperties validator beans in Spring environment
body: <p>When using the <code>@ConfigurationProperties</code> annotation to inject properties into a bean, Spring provides the ability to define a custom validator to validate those properties.</p>
  
  <p>The <code>ConfigurationPropertiesBindingPostProcessor</code> looks up this validator using the fixed bean name <code>"configurationPropertiesValidator"</code> and class <code>org.springframework.validation.Validator</code>.</p>
  
  <p>Now assume I have a <code>@ConfigurationProperties</code> with its validator in a module A. Another module B has a dependency on module A. Module B also defines its own <code>@ConfigurationProperties</code> and its own validator.</p>
  
  <p>When the app loads up, the post-processor picks up only one of these beans. This disables the other part of the validation.</p>
  
  <p>Is there a solution to this? How can I keep both configuration property validators enabled in my application?</p>