On Thu, 25 Nov 2010, sivaram443 wrote:
This code is gving the below error.org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException at org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFact ory.java:61) at org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:277) at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:186) at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:1 89)
Without the full stacktrace it's hard to say for sure, but my hunch is that either you're missing one of the required Jars, or you have both old and new POI jars in your classpath
Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
