java.lang.ClassCastException: o.a.p.POIXMLDocumentPart cannot be cast to o.a.p.xwpf.usermodel.XWPFDocument

apache.org | 5 days ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    POI regression testing report

    apache.org | 5 days ago
    java.lang.ClassCastException: o.a.p.POIXMLDocumentPart cannot be cast to o.a.p.xwpf.usermodel.XWPFDocument
  2. 0

    Apache poi failed to open word document : NoSuchMethodError using ooxml-shemas-1.0.jar but not with poi-ooxmlshemas-3.8.jar

    Stack Overflow | 4 years ago | Houcem Berrayana
    java.lang.NoSuchMethodError: org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFootnotes.getFootnoteList()Ljava/util/List;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      o.a.p.POIXMLDocumentPart cannot be cast to o.a.p.xwpf.usermodel.XWPFDocument

      at o.a.p.xwpf.usermodel.XWPFFootnotes.getXWPFDocument()
    2. o.a.p
      XWPFFootnotes.getXWPFDocument
      1. o.a.p.xwpf.usermodel.XWPFFootnotes.getXWPFDocument(XWPFFootnotes.java:153)
      1 frame