See https://poi.apache.org/faq.html#faq-N10025
Tldr; CTRImpl#getDrawingList is not called by the unit tests. If a unit test was added for this class, it would be included in poi-ooxml-schemas On Aug 11, 2016 1:03 PM, "Branden Visser" <mrvis...@gmail.com> wrote: > Hi all, there is this dependency: > > "org.apache.poi" % "poi-ooxml-schemas" % "3.15-beta2" > > If you include it, then I think it gives you some subset of > ooxml-schemas 1.1, however not everything. For example, I've found > this: > > === > java.lang.NoClassDefFoundError: > org/openxmlformats/schemas/wordprocessingml/x2006/main/ > impl/CTRImpl$1DrawingList > at org.openxmlformats.schemas.wordprocessingml.x2006.main. > impl.CTRImpl.getDrawingList(Unknown > Source) > ... snip > === > > ... when trying to get the drawings of an OOXML word document. > Additionally, if you include this dependency *in addition* to > ooxml-schemas 1.1, everything on my end seems to work fine, except if > you try and bundle up the application into a jar, most assemblies will > bomb out and give you an error that there are tons of duplicated class > files (you need to give a handling strategy): > > === > deduplicate: different file contents found in the following: > /Users/branden/.ivy2/cache/org.apache.poi/poi-ooxml- > schemas/jars/poi-ooxml-schemas-3.15-beta2.jar:org/openxmlformats/schemas/ > spreadsheetml/x2006/main/impl/CTPivotTableStyleImpl.class > /Users/branden/.ivy2/cache/org.apache.poi/ooxml-schemas/ > jars/ooxml-schemas-1.1.jar:org/openxmlformats/schemas/ > spreadsheetml/x2006/main/impl/CTPivotTableStyleImpl.class > deduplicate: different file contents found in the following: > /Users/branden/.ivy2/cache/org.apache.poi/poi-ooxml- > schemas/jars/poi-ooxml-schemas-3.15-beta2.jar:org/openxmlformats/schemas/ > spreadsheetml/x2006/main/impl/CTPrintOptionsImpl.class > /Users/branden/.ivy2/cache/org.apache.poi/ooxml-schemas/ > jars/ooxml-schemas-1.1.jar:org/openxmlformats/schemas/ > spreadsheetml/x2006/main/impl/CTPrintOptionsImpl.class > deduplicate: different file contents found in the following: > /Users/branden/.ivy2/cache/org.apache.poi/poi-ooxml- > schemas/jars/poi-ooxml-schemas-3.15-beta2.jar:org/openxmlformats/schemas/ > spreadsheetml/x2006/main/impl/CTREltImpl.class > /Users/branden/.ivy2/cache/org.apache.poi/ooxml-schemas/ > jars/ooxml-schemas-1.1.jar:org/openxmlformats/schemas/ > spreadsheetml/x2006/main/impl/CTREltImpl.class > ... and so on for thousands of files. > === > > However, if I include ooxml-schemas 1.1 only and omit the 3.15-beta2 > version, everything works fine in my usage. > > So it begs the question, what is the intended usage of this > "poi-ooxml-schemas" dependency? > > Thanks, > Branden > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@poi.apache.org > For additional commands, e-mail: user-h...@poi.apache.org > >