Error while reading xlsx file in java using Apache Poi on CLI
For the below code i m getting error as below java.lang.ClassNotFoundException: org.apache.xmlbeans.XmlException
I am executing the code on CLI. I have added all the jars needed.
- Poi-version.jar
- Poi example – version.jar
- Poi ooxml version.jar
- Poi-ooxml-schemas-version.jar
- Stax-api.jar
- Xmlbeans-version.jar
- Commons-collections-version.jar
- Curvesapi.jar
- Dom4j.jar
Still it is not working. code