java中解析xlsx文件时无论是使用XSSFWorkbook还是HSSFWorkbook都报错 officeXmlFileException
org.apache.poi.poifs.filesystem.OfficeXmlFileException:Thesupplieddataappearstobeinth...
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)
求各位大神帮忙解答 展开
求各位大神帮忙解答 展开
3个回答
2015-05-17
展开全部
文档保存为2003的xls格式。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询