에라모르겠다(‘◇’)?
[spring] zip bomb detected ! The file would exceed max 에러 발생 해결방법 본문
Language/Java
[spring] zip bomb detected ! The file would exceed max 에러 발생 해결방법
도토리즈 2023. 7. 28. 23:26321kb 용량을 가진 엑셀 (시트 3개정도? 있었음) 의 시트 복사해서
새로운 엑셀로 생성하는 과정에서 발생한 오류이다
wookbook 객체를 생성하기 전에 해당 코드를 넣어주면 된다고 한다
ZipSecureFile.setMinInflateRatio(0);
▼ 아래 참고 !
ZipSecureFile.setMinInflateRatio(0);
Workbook workbook = new XSSFWorkbook();
https://stackoverflow.com/questions/44897500/using-apache-poi-zip-bomb-detected
Using Apache POI - Zip Bomb detected
When I am trying to write data to an Excel sheet, using Apache POI which contains more than 64000 records, where SXSSF is used, I am getting the below error: Zip bomb detected! The file would exce...
stackoverflow.com
'Language > Java' 카테고리의 다른 글
[spring] DTO 사용하여 (object) 엑셀 HEADER, VALUE 만들기 (0) | 2023.07.17 |
---|---|
[springboot] HTTP 요청 (REST API) 참고용 (0) | 2023.07.10 |
[springboot] 엑셀 파일 업로드 업로드된 데이터 db 데이터 insert (0) | 2023.04.05 |
Comments