The IDEA environment of version 2020.1 of the blogger has been configured with a local Maven warehouse and used Alibaba Cloud mirroring. It is recommended to complete the above two steps before setting up the springboot project. To configure the Alibaba Cloud source image file, please refer to my other article: https://blog.csdn.net/Zhongtongyi/article/details/105469382
If you have any questions, please leave a message in the comment area.
Not much BB
The detailed picture and text are attached:
This page appears after customizing the directory, and you can see that the pom.xml file has only some basic configuration and is not dependent on springboot, so manual configuration is required.
The way to always be outdated and sure to find dependencies is to find them from the official website:
Click https://spring.io/projects/spring-boot to enter the springboot section
Click to enter and find the place shown in the figure below (you can see that the springboot when I write this article is version 2.26)
Copy all the pom.xml content of the official website, delete the original pom.xml in IDEA and replace it with the official website
Then operate as shown in the figure below
The above is the import dependency steps, and then you can start to write the project code.