1、创建项目:
2、选择spring Initializr,注意要选择jdk,使用默认的spring.io这样就不用再去写pom文件了
3、输入项目名称:
4、选择Spring Web
5、目录结构: