1、新建项目
File > New > Project...
2、创建项目信息
3、选择Spring版本和依赖
4、配置pom.xml文件内容
4.0.0
org.springframework.boot
spring-boot-starter-parent
2.7.4
com.yuanjianfeng
diary
0.0.1-SNAPSHOT
diary
diary
11
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-starter-test
test
org.springframework.boot
spring-boot-maven-plugin
5、在src中找到xxxApplication.java文件
在文件中启动项目,然后根据启动后的地址访问,如果访问成功就代表当前项目创建成功,可以进行项目开发了;
6、访问启动后的地址
本章节顺利完成