Optional int parameter 'page' is present but cannot be translated into a null value due to being declared as a primitive type
我感觉你是用了jsp的内置对象 page?这个在jsp中 相当于是 java中关键字一样的存在如果是这个原因 你把page变量的名字改一下 改成Page 或者 page_试试