What is the application properties file?
Click to see full answer
Similarly, where do I put application properties?
You will need to add the application. properties file in your classpath. If you are using Maven or Gradle, you can just put the file under src/main/resources . If you are not using Maven or any other build tools, put that under your src folder and you should be fine.
Subsequently, question is, what is Yaml file in spring boot? In Spring Boot, we can use YAML files instead of properties files. YAML is a human-friendly data serialization standard but is mainly used for configuration files. YAML stands for YAML Ain't Markup Language (a recursive acronym).
One may also ask, where is application properties file in spring boot?
properties in default location. Spring Boot loads the application. properties file automatically from the project classpath. All you have to do is to create a new file under the src/main/resources directory.
What is @configuration in spring boot?
Spring @Configuration annotation helps in Spring annotation based configuration. @Configuration annotation indicates that a class declares one or more @Bean methods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime.