I created https://github.com/pjfanning/poi-gradle-example a few days ago to create a small example of how to use POI XSSF workbook with the right dependencies. - https://github.com/pjfanning/poi-gradle-example
On Tuesday 5 October 2021, 10:37:44 IST, PJ Fanning <[email protected]> wrote: POI 5.0.0 is built to use XMLBeans 4.0.0. (see https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml-lite/5.0.0) POI 5.1.0 which will be released in next few weeks is built to use XMLBeans 5.0.1. XMLBeans version numbers are based on Semantic Versioning. 4.x.y to 5.a.b is a major upgrade and there are no guarantees of full compatibility to older versions. On Tuesday 5 October 2021, 10:03:25 IST, Hazel Chua <[email protected]> wrote: While working in SoapUI (Groovy), I'm attempting to create a new workbook using : Workbook wb = WorkbookFactory.create(true) It throws back the following error : java.lang.NoSuchMethodError: org.apache.xmlbeans.XmlOptions.setUseDefaultNamespace(Z)Lorg/apache/xmlbeans/XmlOptions I'm using POI version 5.0.0 and has xmlbeans-5.0.1 as well. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
