Optional int parameter ‘limit‘ is present but cannot be translated into a null value due to错误解决方法

学习SpringBoot时遇到了一个这样的错误,一开始以为自己的代码有问题,百度了下发现时传参的时候有问题,我传的参是int类型的,改成integer对象类型就行了         [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is j
相关文章
相关标签/搜索