What is a Spring Boot starter dependency? (Choose the best answer.)
What is a Spring Boot starter dependency? (Choose the best answer.)
A Spring Boot starter dependency is an easy way to include multiple, coordinated dependencies related to a specific technology, like web or JDBC. These starters help simplify the configuration and setup of common use cases in Spring Boot applications.
- A is incorrect. - B is incorrect, not just runtime, starter need in compile time. - C is incorrect, it is not an existing pom.xml for downloading. - D is rationale. Let's see an example https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-starters/spring-boot-starter-web/build.gradle
A Spring Boot starter dependency is an easy way to include multiple, coordinated dependencies related to a specific technology, such as web or JDBC