显示绑定异常
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 上。
Mapper文件内部命名空间,地址应该接口类的地址才对
看一下方法名是否跟id一样