Issue while reading Excel document (Java code)

后端 未结 3 830
深忆病人
深忆病人 2020-12-22 10:45

I have some Java code which reads the Excel data. On running the Java code, it\'s showing the following error. Help me resolve the same. Also, I need to know other method of

3条回答
  •  借酒劲吻你
    2020-12-22 11:16

    If you want to read a .xls file you must use HSSF (it supports only .xls format) but for .xlsx files you must use XSSF or another higher version API.

提交回复
热议问题