1.通过idea的spring initialiar创建一个spring boot项目

spring boot创建新项目

创建项目界面

2.next之后选择一些依赖mybatis,mysql,web等,然后创建好项目
3.配置datasource:

spring boot创建新项目

配置datasource类

相关文章:

  • 2021-06-25
  • 2021-08-06
  • 2021-08-25
  • 2021-05-01
  • 2021-04-25
  • 2021-09-16
猜你喜欢
  • 2021-03-27
  • 2021-04-23
  • 2021-07-18
  • 2021-04-07
  • 2021-05-24
  • 2021-05-04
相关资源
相似解决方案