背景:公司测试部门会写一些小工具去提高测试效率,
例如更新测试用户账号信息,设置一些挡板方便走流程等。用的就是springBoot整合mybatis

  1. 开发工具IDEA,数据库连接工具Navicat
  2. 新建一个Springboot项目
    如何验证自己项目是否成功?
    (1)查看自己的application.properties
    springBoot整合mybatis第一篇:新建一个Springboot项目
    (2)新建一个HelloController
    springBoot整合mybatis第一篇:新建一个Springboot项目
    (3)再建一个启动类Test01,并执行编译
    springBoot整合mybatis第一篇:新建一个Springboot项目
    编译不报错以后
    springBoot整合mybatis第一篇:新建一个Springboot项目
    (4)在浏览器访问地址,以我的为例http://localhost:8088/mytest/hello,页面展示内容即可
    springBoot整合mybatis第一篇:新建一个Springboot项目

相关文章: