spring官网获取springBoot项目 https://start.spring.io/ 下载项目文件夹并解压到项目中 在IDEA中这个文件并不能别识别为spring项目 在pom.xml文件上右击,并选择 add as maven project 即可。