Springboot 学习/复习之路2:pom.xml基本配置

pom.xml

<modelVersion>4.0.0</modelVersion>
<parent>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-starter-parent</artifactId>
	<version>2.4.10</version>
	<relativePath/> <!-- lookup parent from repository -->
</parent>

在<dependencies></dependencies>中加入

<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-starter-web</artifactId>
</dependency>

其它基本不太需要添加
可到用时在添加