Openpdf‐html: migrate from Flyingsaucer - LibrePDF/OpenPDF GitHub Wiki
How to migrate from Flyingsaucer to Openpdf-html:
Add this to your pom.xml file to use the latest version of OpenPDF:
<dependency>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf</artifactId>
<version>2.2.3</version>
</dependency>Use org.openpdf instead of org.xhtmlrenderer