File Excel From Apache POI Cant Open by Ms Excel (corrupt)

后端 未结 5 581
囚心锁ツ
囚心锁ツ 2020-12-19 01:56

I don\'t know why the file I write using POI cant be opened by Ms Excel 2013, but the file is still readable by POI. (cell value can be changed)

this is the error fr

5条回答
  •  隐瞒了意图╮
    2020-12-19 02:03

    You are calling getSheetAt(0) but you did not create any sheet before (workbook.createSheet(“name”)

提交回复
热议问题