天天看點

spring boot org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) 解決

運作以前的一個項目,資料庫使用的是mybatis plus ,它對mybatis 做了一些增強,是以在遇到标題的問題解決方法差不多。

其實問題異常資訊已經說清楚了,其實接口和xml檔案之間的問題,這篇部落客很好的解釋了這個問題

https://blog.csdn.net/sundacheng1989/article/details/81630370

我遇到的不是這個問題,我的是spring boot項目,後來我是通過指定xml檔案位置解決的

指定掃描的包

spring boot org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) 解決

指定xml檔案

spring boot org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) 解決

然後問題解決了

繼續閱讀