我正在使用 java 将 xls 转换为 csv,但遇到了这样的异常,
com.org.apache.poi.hssf.record.RecordInputStream$LeftoverDataException: Initialisation of record 0x85 left 18 bytes remaining still to be read.
at com.org.apache.poi.hssf.record.RecordInputStream.hasNextRecord(RecordInputStream.java:156)
at com.org.apache.poi.hssf.extractor.OldExcelExtractor.getText(OldExcelExtractor.java:169)
at CsvConverter.main(CsvConverter.java:91)
最佳答案
检查此答案,请同时查看链接答案的评论。 另请检查以下问题用代码发布的方式。 :)
Initialisation of record 0x5B left 1 bytes remaining still to be read. Apache POI Java
关于java - 如何解决InputStream LeftoverDataException : Initialisation of record 0x85 left 18 bytes remaining still to be read,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50909356/