<!--springboot 需要继承的父工程-->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.2</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<dependencies>
<!--web开发的起步依赖-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
</dependencies>【java】个人笔记:spring boot相关依赖
最新推荐文章于 2025-12-11 22:46:37 发布
该文介绍了SpringBoot项目的基础依赖配置,包括spring-boot-starter-parent作为父工程,用于web开发的spring-boot-starter-web依赖,测试依赖spring-boot-starter-test,以及可选的spring-boot-configuration-processor,用于处理配置类。
721

被折叠的 条评论
为什么被折叠?



