diff --git a/spring-context/src/test/java/org/springframework/context/support/PropertySourcesPlaceholderConfigurerTests.java b/spring-context/src/test/java/org/springframework/context/support/PropertySourcesPlaceholderConfigurerTests.java index 42fe1a715e..839b4c5395 100644 --- a/spring-context/src/test/java/org/springframework/context/support/PropertySourcesPlaceholderConfigurerTests.java +++ b/spring-context/src/test/java/org/springframework/context/support/PropertySourcesPlaceholderConfigurerTests.java @@ -445,7 +445,7 @@ public class PropertySourcesPlaceholderConfigurerTests { } } - @Configuration + @Configuration(proxyBeanMethods = false) static class IgnoreUnresolvablePlaceholdersFalseConfig { @Value("${my.key}") @@ -457,7 +457,7 @@ public class PropertySourcesPlaceholderConfigurerTests { } } - @Configuration + @Configuration(proxyBeanMethods = false) static class IgnoreUnresolvablePlaceholdersTrueConfig { @Value("${my.key}")