diff --git a/springContext/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java b/springContext/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java index 598f7e4fe5b4c4a5032713a12efade64f7a9b847..fecfddfa0a4306bca545cf292e550e5062dc7da6 100644 --- a/springContext/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java +++ b/springContext/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java @@ -287,7 +287,7 @@ class ConfigurationClassParser { // Process any @PropertySource annotations for (AnnotationAttributes propertySource : AnnotationConfigUtils.attributesForRepeatable( sourceClass.getMetadata(), PropertySources.class, - PropertySource.class)) { + org.springframework.context.annotation.PropertySource.class)) { if (this.environment instanceof ConfigurableEnvironment) { processPropertySource(propertySource); }