Exception when trying to parse .xlsx file
vesi-azdio opened this issue · 2 comments
vesi-azdio commented
It seems XMLHelper.newXMLReader() which is used when parsing .xlsx files is missing.
Caused by: java.lang.NoSuchMethodError: 'org.xml.sax.XMLReader org.apache.poi.util.XMLHelper.newXMLReader()'
at com.poiji.bind.mapping.XSSFUnmarshaller.unmarshal0(XSSFUnmarshaller.java:51)
at com.poiji.bind.mapping.XSSFUnmarshallerFile.returnFromExcelFile(XSSFUnmarshallerFile.java:43)
at com.poiji.bind.mapping.XSSFUnmarshallerFile.unmarshal(XSSFUnmarshallerFile.java:35)
at com.poiji.bind.Poiji.fromExcel(Poiji.java:176)
at com.poiji.bind.Poiji.fromExcel(Poiji.java:156)
github-actions commented
Thank you for contributing to Poiji! Feel free to create a PR If you want to contribute directly :)
ozlerhakan commented
Hi @vesi-azdio ,
Make sure you have the right dependencies on your project when using Poiji. Poiji uses 5.2.1 right now. If you have any comments you can leave it here.