You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -367,8 +367,8 @@ Properties are considered in the following order:
367
367
. A `RandomValuePropertySource` that has properties only in `+random.*+`.
368
368
. <<boot-features-external-config-profile-specific-properties,Profile-specific application properties>> outside of your packaged jar (`application-\{profile}.properties` and YAML variants).
369
369
. <<boot-features-external-config-profile-specific-properties,Profile-specific application properties>> packaged inside your jar (`application-\{profile}.properties` and YAML variants).
370
-
. Application properties outside of your packaged jar (`application.properties` and YAML variants).
371
-
. Application properties packaged inside your jar (`application.properties` and YAML variants).
370
+
. <<boot-features-external-config-application-property-files,Application properties>> outside of your packaged jar (`application.properties` and YAML variants).
371
+
. <<boot-features-external-config-application-property-files,Application properties>> packaged inside your jar (`application.properties` and YAML variants).
372
372
. {spring-framework-api}/context/annotation/PropertySource.html[`@PropertySource`] annotations on your `@Configuration` classes.
373
373
Please note that such property sources are not added to the `Environment` until the application context is being refreshed.
374
374
This is too late to configure certain properties such as `+logging.*+` and `+spring.main.*+` which are read before refresh begins.
0 commit comments