Hi All, I am trying to read an .xlsx file, using Groovy but I keep on
gett8ing this message 
Caught: javax.xml.stream.FactoryConfigurationError: Provider
com.bea.xml.stream.EventFactory not found


 XSSFWorkbook wb
 wb = new XSSFWorkbook("Workbook2.xls")


below is my Gradle dependencies

    // https://mvnrepository.com/artifact/org.apache.poi/poi
    compile group: 'org.apache.poi', name: 'poi', version: '3.15'

    // https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml
    compile group: 'org.apache.poi', name: 'poi-ooxml', version: '3.15'

    // https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml-schemas
    compile group: 'org.apache.poi', name: 'poi-ooxml-schemas', version:
'3.15'


    compile(group: 'org.apache.poi', name : 'poi-ooxml', version: '3.15') {
        exclude group: 'stax', module: 'stax-api'
    }






--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Caught-javax-xml-stream-FactoryConfigurationError-Provider-com-bea-xml-stream-EventFactory-not-found-tp5726882.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