码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2020-03-14 20:19:06      阅读:93      评论:0      收藏:0      [点我收藏+]

标签: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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!