jxl.read.biff.BiffException: Unable to recognize OLE stream
2013-03-11 15:51
537 查看
今天用jxl搞excel导入,读取excel模板的时候报错:
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 com.ei.test.myExcel.main(myExcel.java:108)
原因:不不支持读取 excel 2007 文件(*.xlsx),只支持 excel
2003 (*.xls)。
解决:把文件 "另存为:excel03格式的。
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 com.ei.test.myExcel.main(myExcel.java:108)
原因:不不支持读取 excel 2007 文件(*.xlsx),只支持 excel
2003 (*.xls)。
解决:把文件 "另存为:excel03格式的。
相关文章推荐
- jxl.read.biff.BiffException: Unable to recognize OLE stream
- Java 下载解析Excel文件 报错:jxl.read.biff.BiffException: Unable to recognize OLE stream
- java读取Excel 错误: jxl.read.biff.BiffException: Unable to recognize OLE stream
- jxl.read.biff.BiffException: Unable to recognize OLE stream解决方法
- jxl.read.biff.BiffException: Unable to recognize OLE stream原因及解决方法
- java读取Excel 错误: jxl.read.biff.BiffException: Unable to recognize OLE stream
- jxl.read.biff.BiffException: Unable to recognize OLE stream
- 使用jxl读取excel报错记录:jxl.read.biff.BiffException: Unable to recognize OLE stream
- jxl.read.biff.BiffException: Unable to recognize OLE stream
- java读取Excel 错误: jxl.read.biff.BiffException: Unable to recognize OLE stream
- java解析excel文件出错jxl.read.biff.BiffException: Unable to recognize OLE stream
- java读取Excel 错误: jxl.read.biff.BiffException: Unable to recognize OLE stream
- java读取Excel 错误: jxl.read.biff.BiffException: Unable to recognize OLE stream
- jxl读取excel文件异常:Unable to recognize OLE stream 的解决方法
- jxl读取excel文件异常:Unable to recognize OLE stream
- jxl 读取excel 文件 Unable to recognize OLE stream
- jxl导入Excel报jxl.read.biff.BiffException: Unable to recognize OLE stream
- unable to load class jxl.read.biff.BiffException
- java 读取excel 文件 Unable to recognize OLE stream 错误 .
- 从Unable to recognize OLE stream引发的故事