在项目中同事遇到一问题,如今给大家分享一下。
在程序里面导入两千多条数据后。程序就报错。
刚開始以为是内存的问题。在经过细致跟踪代码后发现每次都是833行的第三列报错。也就是第一万列。最后在网上找到了解决方式,邮件截图例如以下:
解决方式就是在tomcat的server.xml的8080那个配置文件里加入一属性:maxParameterCount = "1000000"