Home > Back-end >  Solve the org. Apache. Ibatis. Binding. BindingException
Solve the org. Apache. Ibatis. Binding. BindingException

Time:09-30

A: solve org. Apache. Ibatis. Binding. BindingException: Invalid bound statement (not found) problems
1: check whether XML files in the package name and interface corresponding package name one to one correspondence

2: check the namespace XML file and XML file package name one to one correspondence

3: check the function name can be on the corresponding

4: remove the Chinese annotation the XML file

5: optional add a space in your XML document, or a blank line and then save

In general can eliminate errors here

2:
There is another simple solution is to first maven project under the clean, compile it again, with respect to ok!


Oneself is a little white, also do not understand the truth,
In the case of method one can't, try the method 2, really useful
Spent half a day, never expected,,,
  • Related