如何使用* .xlsx扩展名读取Excel文件? [英] How to read Excel file with *.xlsx Extension?

查看:68
本文介绍了如何使用* .xlsx扩展名读取Excel文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在读取具有xlsx扩展名的excel文件* (2000000行带6列) *.使用Java Excel API读取它,但抛出异常

I am reading excel file*(2000000 row with 6 column)* with xlsx extension. for reading it using Java Excel API but it throw exception

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

当尝试使用具有xlsx扩展名的同一文件时,它读取得很好,但仅读取65536行数据,而其余行未读取.请帮助我如何读取具有xlsx扩展名的剩余行.

when try same file with xls extension it read perfectly but it reading only 65536 Row data only remaining rest of row unread.please help me how i am able to read remaining row with xlsx extension.

谢谢

推荐答案

尝试使用Apache POI http://poi.apache.org/spreadsheet/index.html

try use Apache POI http://poi.apache.org/spreadsheet/index.html

这篇关于如何使用* .xlsx扩展名读取Excel文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆