版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/weixin_39207535/article/details/80944695
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'id' not found. Available parameters are [0, 1, param1, param2]
mybatis参数绑定错误;
遇到这种错误,您需要检查一下你的controller对应的方法中是否有超过3个的参数,如果有,那就对咯
如图:
这样就好办了,找到对应方法的mapper,在你要往后台传入的参数前加@Param("字段")
如下:
这样,问题就解决了