I create a file pdf from html template using Spring Boot, flying saucer, thymeleaf. But image is not displaying in my file.
Project structure:
Use standard html src atribute and relative path from root of the project.
You can put your image in the root of the project and use it like this:
If you want to resource folders you can set it like this: