显示绑定异常
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.example.demo.mapper.UserMapper.insert
显示绑定异常
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.example.demo.mapper.UserMapper.insert
UserMapper.xml 文件中的 mapper 标签下的 namespace 值应该为 com.example.demo.mapper.UserMapper,应该绑定到具体 mapper 上。