Idea搭建SpringBoot项目

使用IntelliJ Idea来创建项目,利用其中的Spring Initializr工具来快速创建项目。

选择File–New–Project,出现如下图所示,然后选择Spring Initializr。Idea搭建SpringBoot项目

然后点击Next,填写项目信息

Idea搭建SpringBoot项目 

点击Next,如下图所示,可以配置SpringBoot项目或SpringCloud项目各种依赖,需要注意的是,SpringBoot旁边的2.0.0是自己需要使用的SpringBoot版本,根据自己的需求选择。 Idea搭建SpringBoot项目

项目名称和项目位置 

Idea搭建SpringBoot项目 点击finish,项目结构如下Idea搭建SpringBoot项目 可删除多余文件

Idea搭建SpringBoot项目 

Idea搭建SpringBoot项目