Spring Boot - Application Configuration
Which of the following is the correct way to enable
@ConfigurationProperties support in a Spring Boot application?@ConfigurationProperties support in a Spring Boot application?@EnableConfigurationProperties on a configuration or main class to enable binding of @ConfigurationProperties classes.@ComponentScan scans components but does not enable properties binding. @RestController is for web controllers. @SpringBootApplication is for main app class but does not alone enable properties binding.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions