We have an error when converting RTF to PDF with Aspose: aspose-words-22.3-jdk17.jar
The jar is in a SpringBoot2 app in folder /WEB-INF/lib and there is no other Aspose Jar in classpath
Document document = new Document(RTFinputStream);
document.save(PDFoutputStream, SaveFormat.PDF);
java.lang.NoClassDefFoundError: Could not initialize class com.aspose.words.zzW5K
at com.aspose.words.zzXu5.zzWOc(Unknown Source) ~[aspose-words-22.3-jdk17.jar:22.3.0]
at com.aspose.words.zzZXZ.zzWOc(Unknown Source) ~[aspose-words-22.3-jdk17.jar:22.3.0]
at com.aspose.words.zzZw3.zzWOc(Unknown Source) ~[aspose-words-22.3-jdk17.jar:22.3.0]
at com.aspose.words.zzZw3.zzWWu(Unknown Source) ~[aspose-words-22.3-jdk17.jar:22.3.0]
at com.aspose.words.Document.zzWOc(Unknown Source) ~[aspose-words-22.3-jdk17.jar:22.3.0]
at com.aspose.words.Document.zzYn3(Unknown Source) ~[aspose-words-22.3-jdk17.jar:22.3.0]
at com.aspose.words.Document.<init>(Unknown Source) ~[aspose-words-22.3-jdk17.jar:22.3.0]
at com.aspose.words.Document.<init>(Unknown Source) ~[aspose-words-22.3-jdk17.jar:22.3.0]
at com.aspose.words.Document.<init>(Unknown Source) ~[aspose-words-22.3-jdk17.jar:22.3.0]
at ch.uniqa.billing.service.rtf.AsposeRtfToPdfConverter.convertToPdf(AsposeRtfToPdfConverter.java:21) ~[classes/:0.0.1-SNAPSHOT]
Any idea of the issue?
We see the obfuscated com.aspose.words.zzW5K in aspose-words-22.3-jdk17.jar
Thanks