第一步:选择默认,点击next

IntelliJ IDEA 2018 创建spring boot项目

第二步:填写group和artifact,点击next

IntelliJ IDEA 2018 创建spring boot项目

第三步:选中web,点击next

IntelliJ IDEA 2018 创建spring boot项目

第四步:填写项目名称,项目地址,点击finish

IntelliJ IDEA 2018 创建spring boot项目

第五步:打开启动类,编写测试方法。

IntelliJ IDEA 2018 创建spring boot项目

第六步:右键启动类,点击运行程序

IntelliJ IDEA 2018 创建spring boot项目

第七步:项目运行起来了

IntelliJ IDEA 2018 创建spring boot项目

第八步:启动浏览器,输入http://localhost:8080,页面返回hello world!

IntelliJ IDEA 2018 创建spring boot项目

 

相关文章: