NoSuchFieldError when reading Excel sheet in java

前端 未结 4 1043
情歌与酒
情歌与酒 2021-01-18 05:15

I\'ve followed a simple guide to constructing a workbook using Apache POI XSSF. Following the same guide I was able to WRITE an Excel sheet, however when attempting to read

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-18 05:51

    I got the same error, try changing the XSSFWorkbook diclaration to HSSFWorkbook. It worked for me.

提交回复
热议问题