title: Apache POI class loading issues
body: <pre><code>Caused by: java.lang.ClassCastException: org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.DocumentDocumentImpl cannot be cast to org.openxmlformats.schemas.wordprocessingml.x2006.main.DocumentDocument
      at org.openxmlformats.schemas.wordprocessingml.x2006.main.DocumentDocument$Factory.parse(Unknown Source)
      at org.apache.poi.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:136)
      at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:166)
      at org.apache.poi.xwpf.usermodel.XWPFDocument.&lt;init&gt;(XWPFDocument.java:118)
      at org.apache.poi.xwpf.extractor.XWPFWordExtractor.&lt;init&gt;(XWPFWordExtractor.java:59)
      at org.apache.poi.extractor.ExtractorFactory.createExtractor(ExtractorFactory.java:203)
      at org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:86)
      at org.apache.tika.parser.microsoft.ooxml.OOXMLParser.parse(OOXMLParser.java:87)
      at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
      ... 22 more
  </code></pre>
  
  <p><strong>JARS USED:</strong></p>
  
  <pre><code>poi-ooxml-3.12.jar
  poi-ooxml-schemas-3.12.jar
  poi-3.12.jar
  poi-scratchpad-3.12.jar
  stax-api-1.0.1.jar
  xmlbeans-2.6.0.jar
  </code></pre>
  
  <p>Solution Needed..for this issue.</p>
  
  <blockquote>
    <p>This error throws only for docx files.</p>
  </blockquote>