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


Solutions on the web

Solution icon of web
via apache.org by Unknown author, 8 months ago
o.a.p.POIXMLDocumentPart cannot be cast to o.a.p.xwpf.usermodel.XWPFDocument

Stack trace

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(XWPFFootnotes.java:153)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.