JAVA读取EXCEL文件异常Unable to recognize OLE stream

时间:2023-12-10 15:06:50

异常:

jxl.read.biff.BiffException: Unable to recognize OLE stream

at jxl.read.biff.CompoundFile.<init>(CompoundFile.java:116)

at jxl.read.biff.File.<init>(File.java:127)

at jxl.Workbook.getWorkbook(Workbook.java:221)

at jxl.Workbook.getWorkbook(Workbook.java:198)

at Excel.TestExcel.main(TestExcel.java:17)

excel版本问题,尝试解决办法:

1、把文件另存为即可读取(已测试)

2、新建excel文件

http://wenda.haosou.com/q/1364935930062526