这是一个常见的错误,原因是在application.yml配置文件中忘记配置mapper-locations的路径了
异常:
Invalid bound statement (not found): com.qf.zsm.springbootdynamicdatasource.mapper.TestMapper.insert

解决方案:
在application.yml中配上mybatis的mapper-locations属性
Invalid bound statement (not found): com.qf.zsm.springbootdynamicdatasource.mapper.TestMapper.insert
问题解决!
Invalid bound statement (not found): com.qf.zsm.springbootdynamicdatasource.mapper.TestMapper.insert

相关文章:

  • 2021-05-14
  • 2022-01-19
  • 2021-04-26
  • 2021-07-09
猜你喜欢
  • 2021-07-31
  • 2022-01-02
  • 2021-05-26
  • 2021-05-02
相关资源
相似解决方案