或者,从Idea中File-Open打开你项目的文件夹 3.新导入的SpringBoot项目,需要设置jdk和转maven 设置jdk: File-structure 转mavenProject,点击加号选择项目的