The latest version of POI is built and tested with OpenJDK and Oracle Java
1.6, so there shouldn't be a problem with your JVM.

Make sure you aren't mixing POI versions, which could be brought in as
dependencies for other libraries.
https://poi.apache.org/faq.html

Also make sure you have the right ooxml schemas and xmlbeans dependencies.
https://poi.apache.org/overview.html

On Feb 2, 2017 11:33, "rhyashu" <ashutosh.sa...@walgreens.com> wrote:

I tried with POI 3.11 version but with that i am getting some other error. I
researched and found that it has somthing to do with JRE 1.6. Our app is
currently running on WAS 8.5 with JRE 1.6. Thats why it throw below error:
java.lang.NoSuchMethodError:
javax/xml/stream/XMLEventFactory.newFactory()Ljavax/xml/stream/
XMLEventFactory;
at
org.apache.poi.openxml4j.opc.internal.marshallers.
PackagePropertiesMarshaller

And jar used are:
poi-11
poi-ooxml-11

I cant upgrade the JRE as of now. SO i tried using the older versions,
Please let me know if there is any other workaround. Thanks.



--
View this message in context: http://apache-poi.1045710.n5.
nabble.com/Excel-has-unreadable-content-Error-When-
creating-excel-using-SXSSF-API-tp5726456p5726458.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@poi.apache.org
For additional commands, e-mail: user-h...@poi.apache.org

Reply via email to