The initial dependency of SpringBoot and its role
SpringBoot requires that the project inherits SpringBoot's initial dependency on spring-boot-starter-parent
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.1.RELEASE</version>
</parent>
SpringBoot needs to integrate SpringMVC for Controller development, so the project needs to import web startup dependencies
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>
Function :
Package and package dependency coordinates provide default functions to facilitate rapid development and configuration.
Essentially, it is a Maven project object model (Project Object Model, POM), which
defines transitive dependencies on other libraries. Together, these things support a certain function.
Simply put, the initial dependency is to pack the coordinates with a certain function together and provide some default functions