java.lang.RuntimeException: java.lang.reflect.InvocationTargetException,无法运行

一、controller和service没有进行拆分

tk.mybatis版本问题,原本使用1.2.3版本,查了一下阿里云maven仓库,升级到最新版本2.1.5

二、controller和service是拆分的架构(推荐此方法)

在application.properties文件中加入:mapper.identity=mysql

相关文章:

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