i tried this code snippet , but it occurs this error ,
here is the example link i used
com.aspose.html.converters.Converter.convertHTML("<h1>Convert HTML to PDF!</h1>", ".",
new PdfSaveOptions(), "c…...base/jdk.internal.reflect.NativeMethodAccessor...invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessor...