修改 manager 的 web.xml
d:\App\tomcat\apache-tomcat-7.0.79\webapps\manager\Web-INF\Web.xml
把
- <multipart-config>
- <!-- 50MB max -->
- <max-file-size>
- 52428800
- </max-file-size>
- <max-request-size>
- 52428800
- </max-request-size>
- <file-size-threshold>
- 0
- </file-size-threshold>
- </multipart-config>
修改成
- <multipart-config>
- <!-- 500MB max -->
- <max-file-size>
- 524288000
- </max-file-size>
- <max-request-size>
- 524288000
- </max-request-size>
- <file-size-threshold>
- 0
- </file-size-threshold>
- </multipart-config>
来源: http://www.bubuko.com/infodetail-3392901.html