Created attachment 32758 [details] no describe when I use WorkbookFactory.create(excelFile) method create WorkBook then throw this exception,but the file in office can open no error. when I open this file , not any change , then save as another file .then WorkbookFactory.create(excelFile) create WorkBook success. org.apache.poi.hssf.record.RecordFormatException: Unhandled Continue Record followining class org.apache.poi.hssf.record.TabIdRecord at org.apache.poi.hssf.record.RecordFactoryInputStream.readNextRecord(RecordFactoryInputStream.java:382) at org.apache.poi.hssf.record.RecordFactoryInputStream.nextRecord(RecordFactoryInputStream.java:276) at org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:480) at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:326) at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:115) at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:206) at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:188)
这个到底啥问题,用户上传的excel文件可以正常打开,我将Excel文件读取到流后,使用HSSF的构造方法创建报这个错!