一.
Required Integer parameter 'XXX' is not present
1、异常提示:
DEBUG o.s.w.s.m.m.a.ServletInvocableHandlerMethod - Error resolving argument [2] [type=java.lang.Integer]
HandlerMethod details:
Controller [com.artup.activity.web.ActivityWorksController]
Method [public java.lang.String com.artup.activity.web.ActivityWorksController.worksGreat(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,java.lang.Integer)]
org.springframework.web.bind.MissingServletRequestParameterException: Required Integer parameter 'parentId' is not present
2、原因:parentId 未传值;
3、客户端增加 parentId 的传递即可。