第一个springboot-web快速入门工程-/hello

This commit is contained in:
2025-09-13 17:08:17 +08:00
parent 3502bd304b
commit a81b839b04
4 changed files with 26 additions and 1 deletions

View File

@@ -13,18 +13,25 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<spring-boot.version>2.7.6</spring-boot.version>
</properties>
<!--项目依赖-->
<dependencies>
<!--springboot-web起步依赖-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!--springboot集成的junit单元测试起步依赖-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<!--springboot版本控制-->
<dependencyManagement>
<dependencies>
<dependency>