springboot项目学习(一) 初步建立springboot

本篇文章将在idea中建立springboot项目

第一步

  • idea左上角 File->new->Project 如下图
  • 图一
    springboot项目学习(一) 初步建立springboot

第二步

  • 左侧选择Spring Initializr
  • 点击下一步
  • 如下图
  • 图二
    springboot项目学习(一) 初步建立springboot

第三步

  • 填写这个项目的相关信息
  • 这些参数不影响开发,只是个名字
  • 这里不详细讲这些参数了
  • 有兴趣可以去学习maven
  • 图三
    springboot项目学习(一) 初步建立springboot

第四步

  • 这里咱们只选择web里的spring web

  • 点击下一步

  • 然后填写项目的名称和选择项目的路径就完成建立项目了

  • 图四

  • springboot项目学习(一) 初步建立springboot

  • 图五

  • springboot项目学习(一) 初步建立springboot

第五步

  • 配置一下springboot的maven
  • 本地得先有现成的maven
  • 这里maven的安装就不讲了,自行百度,很无脑
  • 点击idea左上角的 File->settings
  • 选择编辑maven
  • 主要是选择maven的根目录 选择maven的配置文件 选择maven的仓库路径
  • 编辑情况如下图
  • 图六
  • springboot项目学习(一) 初步建立springboot

到这里项目就大功告成了

相关文章:

  • 2021-10-23
  • 2021-06-10
  • 2021-07-30
  • 2021-11-09
  • 2021-12-25
  • 2021-05-29
  • 2021-09-06
猜你喜欢
  • 2022-01-08
  • 2021-12-25
  • 2021-04-11
  • 2021-04-23
  • 2021-08-18
  • 2021-06-25
  • 2021-09-15
相关资源
相似解决方案