Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

往mapper.xml中自定义sql语句会报org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): #5

Open
xiangyaoping opened this issue Oct 12, 2020 · 4 comments

Comments

@xiangyaoping
Copy link

原工程拉下来,在userMapper.xml中新增一个 selectById 然后调用就提示org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

@xiangyaoping
Copy link
Author

可否提供个联系方式私下交流下这个问题呢,也可以联系我qq753532664,谢谢!

@yujunhao8831
Copy link
Owner

仔细检查配置,自定义了一些东西 相对应的地方也需要修改,另外你有可能是升级了版本

@xiangyaoping
Copy link
Author

原工程拉下来哦

@xiangyaoping
Copy link
Author

尝试了下删除config下所有内容,并且yml中数据库只配置一个就可以正常匹配

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants