springboot提示Invalid bound statement (not found): com.example.dnwx.mapper.WxUserMapper.getphon

springboot提示Invalid bound statement (not found): com.example.dnwx.mapper.WxUserMapper.getphon,意思就是找不到绑定语句

但是xml文件中namespace都能点击条到mapper了

img


targer也有该文件

img

结果还是报这个

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.example.dnwx.mapper.WxUserMapper.getphon

这到底是怎么回事

getphon这个方法传了几个参数。
多个参数,要用@Param()注解绑定。

img

https://blog.csdn.net/qq_37950196/article/details/122919591?spm=1001.2014.3001.5502

你的springboot 配置文件 配置文件目录了吗

远程吧,私聊我

您好,我是有问必答小助手,您的问题已经有小伙伴帮您解答,感谢您对有问必答的支持与关注!
PS:问答VIP年卡 【限时加赠:IT技术图书免费领】,了解详情>>> https://vip.csdn.net/askvip?utm_source=1146287632