Hi, We have just upgraded poi 3.9 to 3.11 .And got java.lang.NoSuchMethodError: javax/xml/stream/XMLEventFactory.newFactory()Ljavax/xml/stream/XMLEventFactory java version : Ibm Jdk 1.6_26. Could you please provide any resolution for this.
Could you please provide a short, self-contained, correct example and the resulting stack trace that occurs in POI 3.11?
Please also attach any resources needed by the example (such as xlsx files) to the bug. Does this problem occur if you upgrade to POI 3.10 or POI 3.13?
Please read the FAQ at http://poi.apache.org/faq.html#faq-N1017E The relevant snippet for you is likely "IBM Java 6 does not provide all the interfaces required by the XML standards, only IBM Java 7 seems to provide the correct interfaces, so try upgrading your JDK. ", POI started to use default XML Parser functionality which is defined as part of the Java VM, but IBM JDK 6 does not provide those, only upgrading to newer IBM JDK seems to fix this...
3.11 is a little old - can you try upgrading to 3.13? (IIRC we added a workaround for broken JVMs at some point)
HI, Thank you for your quick response . sure we will try with 1.7 once and confirm back. Thanx rati.
Any news on IBM Java 7 (or Oracle Java 6 or OpenJDK 6)?
No update for quite some time, therefore closing this as WORKSFORME for now, please reopen with more information if this is still a problem for you.