springboot 2514 基础依赖
Spring Boot 2.5.14的基础依赖可以在Maven或Gradle构建文件中添加以下依赖项:
Maven依赖项:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>2.5.14</version>
</dependency>
Gradle依赖项:
implementation 'org.springframework.boot:spring-boot-starter:2.5.14'
这个基础依赖包含了Spring Boot的核心模块,包括Spring框架、Spring MVC、Spring Data JPA、Spring Security等常用的功能模块。
你还可以根据你的具体需求添加其他的依赖项,比如数据库驱动、模板引擎、缓存等。可以在Spring官方文档中查找更多可用的依赖项。
原文地址: https://www.cveoy.top/t/topic/h1tV 著作权归作者所有。请勿转载和采集!