问题描述
报错:
java.lang.IllegalArgumentException: Cannot read more than 2,147,483,647 into a byte array
at org.apache.commons.io.IOUtils.lambda$toByteArray$0(IOUtils.java:2403) ~[commons-io-2.11.0.jar:2.11.0]
at org.apache.commons.io.output.ThresholdingOutputStream.thresholdReached(ThresholdingOutputStream.java:201) ~[commons-io-2.11.0.jar:2.11.0]
at org.apache.commons.io.output.ThresholdingOutputStream.checkThreshold(ThresholdingOutputStream.java:105) ~[commons-io-2.11.0.jar:2.11.0]
at org.apache.commons.io.output.ThresholdingOutputStream.write(ThresholdingOutputStream.java:231) ~[commons-io-2.11.0.jar:2.11.0]
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1310) ~[commons-io-2.11.0.jar:2.11.0]
at org.apache.commons.io.IOUtils.copy(IOUtils.java: