1. pom.xml配置之springboot
1.1 继承springboot父项目依赖
org.springframework.boot spring-boot-starter-parent2.7.0
1.2 插件依赖
org.springframework.boot spring-boot-starter-weborg.springframework.boot spring-boot-starter-testorg.springframework.boot spring-boot-starter-aop
2. 启动类配置
@SpringBootApplication
public class SquareApplication {
public static void main(String[] args) {
SpringApplication.run(SquareApplication.class,args);
}
}
3. application.yml



