項目結構圖如下

項目搭建

1、在Idea中點擊File->New->Project->Spring Initializr,如下圖

2、填寫項目信息

修改pom.xml文件

添加junit測試依賴

相關文章