java.io.IOException: Zip bomb detected! The file would exceed the max.
2021-03-31 21:25
标签:bom nbsp 参考 str fileinput ted The secure set 解决办法: 添加一行代码即可 参考: java.io.IOException: Zip bomb detected! The file would exceed the max. 标签:bom nbsp 参考 str fileinput ted The secure set 原文地址:https://www.cnblogs.com/longronglang/p/13566016.htmlZipSecureFile.setMinInflateRatio(-1.0d);
FileInputStream file = new FileInputStream("D:\\newData.xlsx");
ZipSecureFile.setMinInflateRatio(-1.0d);
XSSFWorkbook wb = new XSSFWorkbook(file);
上一篇:作为程序员,推荐5种编程语言!
下一篇:Java优势有哪些?
文章标题:java.io.IOException: Zip bomb detected! The file would exceed the max.
文章链接:http://soscw.com/index.php/essay/70627.html