poi读取excel报错Your InputStream was neither an OLE2 stream, nor an OOXML stream
当java使用poi读取后缀是xls的excel类型文件时报错:YourInputStreamwasneitheranOLE2stream,noranOOXMLstream报错的代码:Workbookwb=WorkbookFactory.create(is);点进create方法里看下poi的源码:publicstaticWorkbookcreate(InputStreaminp)throwsIO