读取一个pptx时报错:
An element with the same key already exists in the dictionary. —> class com.aspose.slides.exceptions.ArgumentException: An element with the same key already exists in the dictionary.
Presentation pres = null;
try {
pres = new Presentation(source);
pres.save(target, SaveFormat.Pptx);
} catch (Exception e) {
e.printStackTrace();
} finally {
if (Objects.nonNull(pres)) {
pres.dispose();
}
}