Spring - errors that occur when integrated MyBatis: Exception in thread "main" org.apache.ibatis.binding.BindingException:

Exception in thread "main" org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): org.awen.mapper.StudentMapper.addStudentDao
appears that the wrong reasons, will be back out with different information. I am here, the investigation for a long time, they discovered. Here Insert Picture Description
Here Insert Picture Description
mapper.xml the id and the name of the method must be mapper.java interface corresponds to it.
mapper.xml the id and the name of the method must be mapper.java interface corresponds to it.
mapper.xml the id and the name of the method must be mapper.java interface corresponds to it.
Important words three times.

Guess you like

Origin blog.csdn.net/guoguozgw/article/details/91429786