Spring Boot Configuration Loading Order and YAML Essentials

Internal Configuration Resolution Order File-name precedence bootstrap.yml (or bootstrap.properties) is processed before any application.* file. application.yml (or application.properties) is processed next. Directory precedence (highest → lowest) ./config/ – a config folder in the project root ./ – the project root itself classpath:/config/ ...

Posted on Thu, 25 Jun 2026 17:51:30 +0000 by 4evernomad