In Spring Boot, which file is primarily used by the auto-configuration system to list all the candidate configurations?

  • application.properties
  • application.yml
  • bootstrap.properties
  • spring-config.xml
In Spring Boot, the auto-configuration system primarily uses the application.yml (or application.properties) file to list all the candidate configurations. This file allows developers to specify configuration properties and settings for their Spring Boot application, including those related to auto-configuration. It's a key component in customizing the behavior of Spring Boot applications.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *