I tried to put the image directly in "webapp/WEB-INF/views"
The image shouldn't be under /WEB-INF/
because this folder is not accessibile outside the app. It should be under webapp
, e.g.webapp/resources/myLogo.png
and then use it like : resources/myLogo.png
in the img src
.