一、创建Maven
1.选择Maven
2.勾选 Create from archetype
3.next
二、输入工程名
三、指定Maven仓库
四、点击finish
五、修改工程结构(file->project structure)
六、配置spring基础包
<dependencies>
<!-- https://mvnrepository.com/artifact/org.springframework/spring-core -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>5.2.13.RELEASE</version>
</dependency>
<!-- https://mvnrepository.com/artifact