I want to display the image after an error has occurred in my spring boot application. I read the documentation and tried several ways and it still doesn't work.
I read the documentation and tried several ways and it still doesn't work. I try this:
<img th:src="@{/images/error_image.jpg}"/>
and this:
<img src="../static/images/error_image.jpg" th:width="1000" th:src="@{/images/error_image.jpg}"/>
This is my project structure:
Hovering over a photo with ctrl directs me to a photo, so the path is good.
but all the time I see this: