摘要:
由于mybatis在加载参数时不根据名字区分,所以在传入多个参数时如果与传入一个参数的使用方式一样,会参数混乱,异常为BindingException,解决方案如下: 例子: // javabean public class User { private int id; private String 阅读全文
摘要:
在使用springboot做项目时遇到了 SpringBoot:HttpMessageNotWritableException: No converter found for return value of type 这个问题,由于springboot项目中对json数据转换的依赖已经在web依赖中 阅读全文