FlyingSaucer and jdk1.8 update > 191

359 views
Skip to first unread message

ajcs...@gmail.com

unread,
Mar 6, 2019, 10:44:25 AM3/6/19
to Flying Saucer Users

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.


Upon researching........ I came to the conclusion that it's NOT a thymeleaf issue.
**It's a issue with flyingSaucer** 9.1.13 - 9.1.18, I even tried flying-saucer-pdf and flying-saucer-pdf-openpdf .
It only works as expecpted when using JDK 1.8 up to update 191, and does NOT work with jdk1.8 upgrade 201,202 and of course it does NOT work with jdk11, openJDK11.

Again, generates the PDF, but ignores the styles from included css and does NOT get any images not even when hardcoded.

**It's a issue with flyingSaucer**

Any ideas?

Vishnu Veeraganti

unread,
Aug 31, 2019, 7:53:54 AM8/31/19
to Flying Saucer Users
Hi , i am having the same issue facing. Not able to render images in pdf when generating pdf. Are you able to resolve the issue?
Reply all
Reply to author
Forward
0 new messages