[Solved] Mybatis Error: Invalid bound statement (not found)

Error reason: mapper file does not match

Check whether the mapper file is written incorrectly

Check the import configuration of mapper. Note that mapper cannot be imported across packages

Check whether the corresponding mapper file is generated in target/classes. If not, the solution is as follows

Add the following configuration to pom.xml, clean and recompile


Similar Posts: