1.首先创建一个springboot项目,指定parent为
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.2.6.RELEASE</version> </parent>
2.声明
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>
3.在IDE中点击如图按钮

可以看到spring-boot-dependencies-2.2.6.RELEASE.pom 文件,里面有各个依赖的版本信息
1944





