Hi,
Can you please explain in general how to properly merge several PPTX files into one consolidated presentation? Is it required to perform "deep copy" for SlidePart objects?
It is currently Fri Jun 20, 2025 7:37 am
org.docx4j.openpackaging.parts.WordprocessingML.MetafileWmfPart cannot be cast to org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractImage
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 10181 • Total topics 2864 • Total members 2095