Thursday, September 26, 2019

Spring boot documentation note

Spring boot documentation note
https://docs.spring.io/spring-boot/docs/current/reference/html
1.
We monitor stackoverflow.com for questions tagged with spring-boot
Absolutely no code generation and no requirement for XML configuration.
Spring Boot 2.1.3.RELEASE requires Java 8 and is compatible up to Java 11 (included). Spring Framework 5.1.5.RELEASE or above is also required. Maven 3.3+
2.
Maven users can inherit from the spring-boot-starter-parent project to obtain sensible defaults. The parent project provides the following features:
Java 1.8 as the default compiler level.
UTF-8 source encoding.
Sensible resource filtering for application.properties and application.yml including profile-specific files
(for example, application-dev.properties and application-dev.yml)
3. Externalized Configuration order
https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html
SpringApplication loads properties from application.properties files in the following locations and adds them to the Spring Environment:
A /config subdirectory of the current directory
The current directory
A classpath /config package
The classpath root
4.
If you want to write log files in addition to the console output, you need to set a logging.file or logging.path property
(for example, in your application.properties).