springboot概念

Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can “just run”.

构建项目

方式一、在线构建项目

springboot项目入门

方式二、通过ide工具构建
  • idea构建 file -> new -> project
    springboot项目入门
  • 选择项目类型
    springboot项目入门
  • 填写项目基本信息
    springboot项目入门
  • 选择构建项目要添加的依赖
    springboot项目入门
  • 确认信息,开始构建项目
    springboot项目入门

开发,编写你的代码

springboot项目入门

  • 构建之后项目的结构
    springboot项目入门
  • 编写自己的代码
    springboot项目入门
  • 启动项目
    springboot项目入门
  • 访问添加代码接口
    springboot项目入门
  • 修改启动端口和context-path application.properties或者application.yml文件,启动项目
    springboot项目入门
  • 访问验证
    springboot项目入门

修改启动banner

相关文章:

  • 2021-12-01
  • 2021-11-29
  • 2021-11-29
  • 2021-04-21
  • 2021-11-02
  • 2021-11-15
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-23
  • 2021-06-22
  • 2021-04-26
  • 2021-11-24
  • 2021-12-10
  • 2021-11-30
相关资源
相似解决方案