1.打开File -New-Project

2.填写相关信息,Name:### Type:Maven Croup、Artifact、java 版本

注:此时,第一次打开可能会报错,说版本不匹配。注意下方的两个红框,将Server URL的地址改为"https://start.aliyun.com "即可,再刷新,就有了需要的java版本

3.继续"Next",勾选web中的springweb.和Tmeplate Engines中的Thymeleaf,以及SQL中。

4.点击"Create",项目基本创建成功。

5.调整此项目的maven配置。File --settings--Build,Exception,Deployment--Maven

注:着重注意红框标记,改成自己Maven的配置。

6.点击"Apply",点击"OK",此时创建成功。
