mybatis org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
2021-04-06 14:27
标签:bind val org which oca directory wro src apache I once made a similar mistake which turned out that the directories were incorrect. 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
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)
文章链接:http://soscw.com/index.php/essay/72074.html