Hi all,
I tried to convert docx to html and i inserted a few of images into docx.The issue is relative url in the html src ,but i need abosolute url. I think maybe i can change it by set config or HtmlSettings? How can i handle it?
Thanks
It is currently Sun Feb 23, 2025 6:35 am
invitation = new Invitation(templateProperties, InvitationTest.class
.getResource("/template.docx").getPath(), InvitationTest.class
.getResource("/").getPath());
WordprocessingMLPackage template = WordprocessingMLPackage
.load(new File(templateFilePath));
java.lang.IllegalArgumentException: javax.xml.bind.MarshalException
- with linked exception:
[javax.xml.bind.JAXBException: org.docx4j.openpackaging.packages.WordprocessingMLPackage is not known to this context]
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
Total posts 10142 • Total topics 2852 • Total members 2083