com.sun.istack.internal.SAXException2: unable to marshal type "org.docx4j.wml.CTMarkupRange" as an element because it is missing an @XmlRootElement annotation]

docx4java.org | 9 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

    OpenXML CTMarkupRange has no @XmlRootElement : docx4j Java forum

    docx4java.org | 9 months ago
    com.sun.istack.internal.SAXException2: unable to marshal type "org.docx4j.wml.CTMarkupRange" as an element because it is missing an @XmlRootElement annotation]

    Root Cause Analysis

    1. com.sun.istack.internal.SAXException2

      unable to marshal type "org.docx4j.wml.CTMarkupRange" as an element because it is missing an @XmlRootElement annotation]

      at org.docx4j.XmlUtils.marshaltoW3CDomDocument()
    2. docx4j
      BindingHandler.applyBindings
      1. org.docx4j.XmlUtils.marshaltoW3CDomDocument(XmlUtils.java:530)
      2. org.docx4j.XmlUtils.marshaltoW3CDomDocument(XmlUtils.java:508)
      3. org.docx4j.model.datastorage.BindingHandler.applyBindings(BindingHandler.java:90)
      3 frames
    3. Unknown
      Test.main
      1. Test.main(Test.java:51)
      1 frame