Hi,
I try to convert mht to pdf using aspose-pdf (21.7) but no success.
Exception thrown :
Exception in thread "main" class com.aspose.pdf.internal.ms.System.le: No html part found!
com.aspose.pdf.internal.l37j.lf.lI(Unknown Source)
com.aspose.pdf.internal.l37j.lf.<init>(Unknown Source)
com.aspose.pdf.internal.html.rendering.MhtmlRenderer.render(Unknown Source)
com.aspose.pdf.internal.html.rendering.MhtmlRenderer.render(Unknown Source)
com.aspose.pdf.internal.html.rendering.MhtmlRenderer.render(Unknown Source)
com.aspose.pdf.l10h.lI(Unknown Source)
com.aspose.pdf.ADocument.lI(Unknown Source)
com.aspose.pdf.ADocument.<init>(Unknown Source)
com.aspose.pdf.Document.<init>(Unknown Source)
Could you please help with this issue?
Code to reporoduce error :
aspose-pdf-mht-to-pdf.zip (76.6 KB)