Html to Pdf Transformation Failing

@rnara

The reason of the problem is absent jaxb package in JVM, it is remover since java-11.

So for Java 17, we need to include JAXB as a Separate Dependency:

This can be done using build tools like Maven or Gradle. For example, in Maven, add the following dependency to your pom.xml file:

XML Example:

<dependency>
    <groupId>javax.xml.bind</groupId>
    <artifactId>jaxb-api</artifactId>
    <version>2.3.3</version>
</dependency>

But notice please, after fixing ClassNotFoundException we are facing another exception for this document: java.lang.ArrayIndexOutOfBoundsException: -1

So the fix is ​​still in the processing stage.

Hi @asad.ali ,

Any update on this fix? Can you provide ETA?

Thanks,
Krishna

@rnara

The ticket is currently under the phase of investigation and it is in process of getting fixed. As soon as its development is completed, we will inform you via this forum thread. Please be patient and spare us some time.

We are sorry for the inconvenience.

Hi Team ,
Any update on this ticket?
Thanks,
Krishna

@rnara

We would like to share that the ticket has been resolved and its fix will be included in 24.11 version of the API which will be released this month i.e. November 2024.

The issues you have found earlier (filed as PDFJAVA-43572) have been fixed in Aspose.PDF for Java 24.11.