Invalid bound statement (not found): com.qf.zsm.springbootdynamicdatasource.mapper.TestMapper.insert

這是一個常見的錯誤,原因是在application.yml配置文件中忘記配置mapper-locations的路徑了 異常: 解決方案: 在application.yml中配上mybatis的mapper-locations屬性 問題解決!
相關文章
相關標籤/搜索