Complete the code to specify the highest precedence configuration source in Spring Boot.
spring.config.location=[1]Command-line arguments have the highest precedence in Spring Boot configuration order.
Complete the code to indicate the default configuration file Spring Boot loads from the classpath.
spring.config.name=[1]Spring Boot loads configuration from a file named 'application' with supported extensions like .properties or .yml by default.
Fix the error in the code to correctly specify a profile-specific configuration file in Spring Boot.
spring.config.location=classpath:/application-[1].propertiesThe profile name 'dev' is commonly used to load development-specific configuration files like application-dev.properties.
Fill both blanks to complete the code that sets the order of configuration precedence: first environment variables, then {{BLANK_1}}.
spring.config.import=optional:configtree:./config/,{{BLANK_2}}After environment variables, Spring Boot loads from classpath application.properties, then command-line arguments override all.
Fill all three blanks to complete the code that defines a configuration property with a default value, overridden by {{BLANK_1}}, then {{BLANK_2}}, and finally {{BLANK_3}}.
spring.config.override=[1],[2],[3]
The order is default application.properties, then environment variables, and finally command-line arguments which have the highest precedence.