Hello!
My task is to insert into *.doc file hyperlink to another file placed in the same directory as used *.doc file.
I have looked for example and find HyperLinkTest.java. While trying to run this one I have a lot for exceptions:
3469 [main] ERROR org.docx4j.openpackaging.parts.JaxbXmlPart - javax.xml.bind.MarshalException
javax.xml.bind.MarshalException
- with linked exception:
- with linked exception:
[com.sun.istack.internal.SAXException2: unable to marshal type "org.docx4j.dml.CTHyperlink" as an element because it is missing an @XmlRootElement annotation]
[com.sun.istack.internal.SAXException2: unable ...