项目结构图如下

项目搭建

1、在Idea中点击File->New->Project->Spring Initializr,如下图

2、填写项目信息

修改pom.xml文件

添加junit测试依赖

相关文章