org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.xxx.dao.UserDao

If you are a maven project and the userdao. XML is in the Dao package, you need to pay attention

Solution: it should be placed in the resources directory

Read More: