org.docx4j.openpackaging.exceptions.InvalidFormatException: Bad [Content_Types].xml

Stack Overflow | Oliver | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    docx4j works fine inside Eclipse but throws error anywhere else

    Stack Overflow | 7 months ago | Oliver
    org.docx4j.openpackaging.exceptions.InvalidFormatException: Bad [Content_Types].xml

    Root Cause Analysis

    1. org.docx4j.openpackaging.exceptions.InvalidFormatException

      Bad [Content_Types].xml

      at org.docx4j.openpackaging.contenttype.ContentTypeManager.parseContentTypesFile()
    2. docx4j
      Load3.get
      1. org.docx4j.openpackaging.contenttype.ContentTypeManager.parseContentTypesFile(ContentTypeManager.java:759)
      2. org.docx4j.openpackaging.io3.Load3.get(Load3.java:134)
      2 frames