idea创建springboot项目

第一步

打开idea,选择菜单栏file-new-project,进入项目类型选择界面,然后选择SpringInitializr
idea创建springboot项目

第二步

点击next进入项目基本信息配置页
idea创建springboot项目

第三步

点击next,进入项目依赖jar包选择界面
idea创建springboot项目

第四步

点击next进入项目本地路径保存界面,选好路径后点击finish完成项目创建
idea创建springboot项目

第五步

项目运行
idea创建springboot项目
运行结果
idea创建springboot项目

小提示

  1. 删除生成的多余代码
    idea创建springboot项目
  2. 依赖jar包如果选择的数据库,需要配置数据库信息,否则项目启功失败
    idea创建springboot项目