We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Error Converting WebPage to Pdf

I am facing the below error while trying to convert a sample code for webpage to pdf.

java.lang.ClassCastException: class com.aspose.html.internal.p202.z10 cannot be cast to class com.aspose.html.internal.p205.z31 (com.aspose.html.internal.p202.z10 and com.aspose.html.internal.p205.z31 are in unnamed module of loader ‘app’.

As mentioned above, this is the code example you have shared in your official site and here is the link for the same.

Kindly revert asap.


We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): HTMLJAVA-1423

You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.