i used below dependency in java to convert html file to pdf.
<dependency>
<groupId>com.Aspose</groupId>
<artifactId>Aspose-imaging</artifactId>
<version>25.5</version>
</depen…...to pdf conversion - aspose-imaging Aspose.Imaging Product Family...<groupId>com.aspose</groupId> <artifactId>aspose-imaging</artifactId>...