Using Thymeleaf + flyingSaucer to generate PDF.
When using JDK 1.8... everything works perfect
When using openJDK 11... everything works, but does NOT render images nor styles from included css file.
Included as ( leaving out opening and closing tags bc was unable to submit with them ):
link rel="stylesheet" href="http://servername/webapps/css/styles.css" type="text/css" media="all"
Images:
img th:src="@{~/webapps/img/Logo.png}" height="60" align="middle"
Not even hardCoded.
img src="http:/servername/webapps/img/Logo.png}" height="60" align="middle"
Seems like it's unable to find them.
Like stated before, it only works with JDK1.8 up to update 191 NOT working when I switch to jdk1.8 update > 191, openJDK11 or openJRE11.