今天在整合SSM做修改的功能的时候后,突然给我报了一个这样的错误,
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is
java.lang.IllegalStateException: 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.