mybatis org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)

2021-04-06 14:27

阅读:451

标签:bind   val   org   which   oca   directory   wro   src   apache   

I once made a similar mistake which turned out that the directories were incorrect.
If the UserMapper‘s namespace is com.mybatisdemo.mappers.UserMapper, make sure mapper-locations is src/resources/com/mybatisdemo/mappers/.
Sometimes we might create a directory named com.mybatisdemo.mappers, then its location turns out to be src/resources/com.mybatisdemo.mappers which is wrong.

mybatis org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)

标签:bind   val   org   which   oca   directory   wro   src   apache   

原文地址:https://www.cnblogs.com/yuhuameng/p/12493666.html


评论


亲,登录后才可以留言!