The supplied data appears to be in the OLE2 Format. You are calling the part of POI that deals with

The supplied data appears to be in the OLE2 Format. You are calling the part of POI that deals with OOXML (Office Open XML) Documents. You need to call a different part of POI to process this data (eg HSSF instead of XSSF)

场景:easyExcel导入时报错,百度之后发现是.xls文件手动修改后缀为.xlsx,poi识别报错

解决方法:.xls另存为.xlsx而不是手动修改后缀

你可能感兴趣的:(Java,excel,工具类,html5)