报错org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)的一种特殊情况
创建mapper文件时,通过new file来创建.xml文件,手动加上.xml后缀名。
若不加上.xml后缀名,IDEA会弹出提示框让选择创建文件的类型,但是通过这种方式创建的文件,后缀名不会显示。在代码运行时会识别不了该文件,然后报错org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)。