I'm trying very simple scenario:
I generated a Spring Boot (v1.3.3) project using start.spring.io initialiser having selected Web dependency. I have then put sample JS, CSS and PNG files into resources/static
folder and started up the webapp.
Now when I try to access JS and CSS resources everything's fine, but for the image it throws org.springframework.web.HttpMediaTypeNotAcceptableException
(Could not find acceptable representation) and returns error 406.
Is there any configuration to be done to serve static images from resources/static folder?