报错:java.lang.IllegalStateException: Form too large: 201975 > 200000
解决:
vi jetty.xml
<Configure id="Server" class="org.eclipse.jetty.server.Server">
在Server这行下面增加以下代码
<!-- guowang add -->
<Call name="setAttribute">
<Arg>org.eclipse.jetty.server.Request.maxFormContentSize</Arg>
<Arg>-1</Arg>
</Call>
<Call name="setAttribute">
<Arg>org.eclipse.jetty.server.Request.maxFormKeys</Arg>
<Arg>-1</Arg>
</Call>
参考:
http://blog.csdn.net/lj_6891zz/article/details/40341951
http://www.tuicool.com/articles/ryiA3y
http://blog.csdn.net/madding/article/details/6759603
时间: 2024-10-10 07:38:29