spring-boot-starter-data-mongodb和spring-boot版本对应
时间: 2023-10-09 07:11:50 浏览: 73
下面是Spring Boot与spring-boot-starter-data-mongodb版本的对应关系:
| Spring Boot 版本 | spring-boot-starter-data-mongodb 版本 |
| --------------- | ------------------------------------- |
| 2.5.x | 3.1.2 |
| 2.4.x | 3.0.2 |
| 2.3.x | 3.0.1 |
| 2.2.x | 2.2.9 |
| 2.1.x | 2.1.13 |
| 2.0.x | 2.0.9 |
| 1.5.x | 1.5.22 |
请注意,这只是一些常见的版本组合。确切的版本可能因您的应用程序配置和依赖项而异。
相关问题
spring-boot-starter-data-mongodb 版本
spring-boot-starter-data-mongodb的版本可以根据你的项目的Spring Boot版本来确定。一般来说,你可以在项目的pom.xml文件中查找spring-boot-starter-data-mongodb的依赖项,并查看其版本号。例如:
```xml
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
<version>2.5.4</version>
</dependency>
```
上述示例中的版本号是2.5.4。请注意,版本号可能会根据你的项目而有所不同。你可以根据具体情况来确定你使用的版本号。
springboot 2.7.4对应spring-boot-starter-data-mongodb版本
Spring Boot 2.7.4对应的Spring Boot Starter Data MongoDB版本是2.7.4。你可以在pom.xml文件中添加以下依赖来引入它:
```
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
<version>2.7.4</version>
</dependency>
```
注意,这仅是一个示例,具体版本号可能会因你的项目而异。你应该选择与你的Spring Boot版本兼容的版本。
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)