"message": "Optional int parameter 'id' is present but cannot be translated into a null value due to

"message": "Optional int parameter 'id' is present but cannot be translated into a null value due to being declared as a primitive type. Consider declaring it as object wrapper for the corresponding primitive type."

出现这种错误把参数int 改成Integer就可以了。

猜你喜欢

转载自blog.csdn.net/XIAO_YAO_YOU_0/article/details/89329940