java.lang.IllegalStateException: Optional int parameter ‘ag‘ is not present but cannot be translatedspringmvc接受参数时报错404 解决方法:将controller层接收数据的int的类型改为将Integer版权声明:本文为weixin_44142793原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。原文链接:https://blog.csdn.net/weixin_44142793/article/details/120982430