Created attachment 24752 [details] org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException at org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:61) hi, I am getting the attached exception, while using XSSF to read excel 2007 fromat file in a web application. Using tomcat 5.5.27 web application server and my project is using Sprint framework. please let me know how to solve the issue. Thanks in advance for your support and commitment. Regards, Kalyan
The key line in your stack trace is: Caused by: java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException Please ensure you have correctly added all the POI dependencies to your classpath - it seems you currently haven't
hi, Thanks for replying, I have include the following list of jar files in the class path, but still i am getting the same exception. thanks for your feedback. dom4j-1.6 ooxml-schemas-1.0 poi-3.5-FINAL-20090928 poi-ooxml-3.5-FINAL-20090928 xmlbeans-2.3.0 Regards, Kalyan
hi, can anybody please help me to solve this issue, thanks for your collaboration. Regards, Kalyan
Include geronimo-stax-api_1.0_spec-1.0.jar and try again. Yegor
I have the same problem, and after include geronimo-stax-api_1.0_spec-1.0.jar also.Please help. Thanks, Pavan