org.apache.ibatis.binding.BindingException: Invalid bound statement
时间: 2023-10-23 15:45:29 浏览: 401
This exception is thrown when MyBatis is unable to find a mapping for a statement in an XML mapper file or a namespace in a Java mapper interface.
Possible causes of this exception include:
- The statement or namespace is misspelled in the mapper file or the Java interface.
- The mapper file is not properly configured in the MyBatis configuration file.
- The namespace in the Java interface does not match the namespace in the mapper file.
- The mapper file is not in the correct location or is not being loaded by MyBatis.
To fix this exception, check the spelling and configuration of the statement or namespace in the mapper file or Java interface and ensure that the mapper file is properly configured and loaded by MyBatis.
阅读全文