Fix bug introduced by Spring @Configuration processing
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user