1、new Project

  maven创建springboot项目

  2、选择spring Initializr

maven创建springboot项目

  3、选择next,可以自定义group、artifact,type里可以选择maven也可以选择gradle

  maven创建springboot项目

  4、选择springboot的版本1.5,因为2.0版本经常出现和其他插件的兼容问题,所以建议大家尽量用1.5的。选择Depandency : web

  maven创建springboot项目

  

  5、写你自定义的项目名

maven创建springboot项目

  

  6、好了,项目构建好了。等待maven 下载包。运行,打开浏览器显示

  maven创建springboot项目

  maven创建springboot项目

 

相关文章: