## 搭建一个SpringBoot项目
- 创建一个Maven项目
- 添加SpringBoot父工程
org.springframework.boot spring-boot-parent 2.3.0.RELEASE
- 添加SpringBoot的核心依赖
org.springframework.boot spring-boot-starter
4.添加SpringBoot整合Maven的插件
org.springframework.boot spring-boot-maven-plugin 2.3.0.RELEASE
5.编写启动类(main方法)
package com.zyx.application;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class DemoApplication {
public static void main(String[] args) {
SpringApplication.run(DemoApplication.class, args);
}
}
6.提供SpringBoot的核心配置文件



