On Fri, 27 May 2011, JagadeeshK wrote:
I am using following jars,
poi-3.7-20101029.jar
poi-ooxml-3.7-20101029.jar
poi-ooxml-schemas-3.7-20101029.jar
dom4j-1.6.1.jar
xmlbeans-2.3.0.jar
Fairly sure you're not using xmlbeans 2.3, but you're instead using an
earlier version. Too key hints in your stacktrace for this:
Caused by: java.lang.RuntimeException: Could not instantiate
SchemaTypeSystemImpl (java.lang.reflect.InvocationTargetException): is the
version of xbean.jar correct?
Caused by: org.apache.xmlbeans.SchemaTypeLoaderException: XML-BEANS compiled
schema: Incompatible minor version - expecting up to 23, got 24
(schemaorg_apache_xmlbeans.system.sE130CAA0A01A7CDE5A2B4FEB8B311707.index) -
code 3
You need to remove whatever older versions of xmlbeans you have kicking
around, and ensure you instead use 2.3 (or newer)
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]