用InputStream myxls = new FileInputStream("d:\\b.xlsx"); HSSFWorkbook wb = new HSSFWorkbook(myxls);
报错哦!谁有这方面的解析 案例 发下,谢谢org.apache.poi.poifs.filesystem.OfficeXmlFileException: The supplied data appears to be in the Office 2007+ XML. You are calling the part of POI that deals with OLE2 Office Documents. You need to call a different part of POI to process this data (eg XSSF instead of HSSF)
报错哦!谁有这方面的解析 案例 发下,谢谢org.apache.poi.poifs.filesystem.OfficeXmlFileException: The supplied data appears to be in the Office 2007+ XML. You are calling the part of POI that deals with OLE2 Office Documents. You need to call a different part of POI to process this data (eg XSSF instead of HSSF)
解决方案 »
- 求解:Tomcat启动时,其catalina.out文件老是有错,但是应用还是能正常访问。
- 高手指点:J2EE框架报错,见问题补充。。。
- struts2 spring hibernate 页面跳转后 form表单数据清除问题
- 在spring中JtaTransactionManager应该怎么用?在哪用?
- 想在一个JAVA文件中使用另外两个JAVA文件的功能,如何实现?
- Struts:点提交的时候Action出的错误! 请高手指点!
- Tomcat如何配置
- 那里有Together Edition for JBuilder X 和license下载(解决就给分
- delphi7.0用ADO与SQL server连接出错?
- 请问关于WSDL中xd文件如何返回list呀
- 如何对oracle jdbc执行的每条sql语句进行检测?
- 急救,hibernate问题
异常已经给出解释了
而且给出了一个解决方案
用xssf代替hssf