On Thu, 14 Jul 2011, Palladian1881 wrote:
When I try to use WorkbookFactory.create(), I get this exception: java.lang.IllegalArgumentException: Your InputStream was neither an OLE2 stream, nor an OOXML stream>

As the exception says, what you've given poi is neither a .xls file nor a .xlsx file. You need to figure out what it actually is, and give it to an appropriate library based on that. For example, try opening it in a text editor - is it in fact a .csv or a .html file?

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to