IllegalArgumentException occurred while calling setter for property 参考https://blog.csdn.net/qq_41192690/article/details/80659427 主码 是 integer类型的 就不要在写成这个样子了 把type="int"删掉 这样就不会报错了