Linkage error with TypeClassHolder

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Linkage error with TypeClassHolder

Tim Allison
Would anyone (with more XMLBeans knowledge than I have) be willing to
take a look at this?  Is this a POI issue or a problem caused by the
classloader/other jars on the path?

https://issues.apache.org/jira/browse/TIKA-2789

java.lang.LinkageError: loader (instance of
org/xeustechnologies/jcl/JarClassLoader): attempted duplicate class
definition for name:
"schemaorg_apache_xmlbeans/system/sD023D6490046BA0250A839A9AD24C443/TypeSystemHolder"
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.lang.ClassLoader.defineClass(ClassLoader.java:642)
at org.xeustechnologies.jcl.JarClassLoader.access$000(JarClassLoader.java:50)
at org.xeustechnologies.jcl.JarClassLoader$LocalLoader.loadClass(JarClassLoader.java:254)
at org.xeustechnologies.jcl.AbstractClassLoader.loadClass(AbstractClassLoader.java:122)
at org.xeustechnologies.jcl.AbstractClassLoader.loadClass(AbstractClassLoader.java:97)
at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:769)
at org.openxmlformats.schemas.wordprocessingml.x2006.main.DocumentDocument.<clinit>(Unknown
Source)
at org.openxmlformats.schemas.wordprocessingml.x2006.main.DocumentDocument$Factory.parse(Unknown
Source)
at org.apache.poi.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:178)
at org.apache.poi.ooxml.POIXMLDocument.load(POIXMLDocument.java:184)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]