diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc index 33ec95118722..bea8755416a8 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc @@ -463,6 +463,8 @@ Config data files are considered in the following order: . <> outside of your packaged jar (`application.properties` and YAML variants). . <> outside of your packaged jar (`application-\{profile}.properties` and YAML variants). +NOTE: If you have both `application.yml` and `application.properties` on the same level, the `application.properties` will take precedence. + To provide a concrete example, suppose you develop a `@Component` that uses a `name` property, as shown in the following example: [source,java,indent=0]