springboot开发接口报错
Optional int parameter 'userId' 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
原来是这样的:
image.png
解决方案:
image.png
网友评论