利用Spring Initializr创建SpringBoot项目 一、访问 https://start.spring.io/ 二、将生成的项目导入idea工具中 三、在HelloSpringApplication类中写入测试方法 @SpringBootApplication