Fix bug introduced by Spring @Configuration processing

This commit is contained in:
Dave Syer
2013-05-10 15:45:12 +01:00
parent fc8240ac88
commit ad19edf03b
4 changed files with 50 additions and 6 deletions

View File

@@ -58,13 +58,11 @@ public class ConfigurationPropertiesBindingConfiguration {
@ConditionalOnMissingBean(name = VALIDATOR_BEAN_NAME)
@ConditionalOnClass(name = "javax.validation.Validator")
public static class ValidatorConfiguration {
protected static class ValidatorConfiguration {
@Bean
protected Validator configurationPropertiesValidator() {
return new LocalValidatorFactoryBean();
}
}
/**

View File

@@ -7,6 +7,7 @@
<pattern>${LOG_PATTERN}</pattern>
</encoder>
</appender>
<logger name="org.springframework.beans.factory.annotation" level="TRACE" />
<root level="INFO">
<appender-ref ref="CONSOLE" />
</root>