Spring boot 1.5.9, 404 error while accessing resources images within Docker container Spring boot 1.5.9, 404 error while accessing resources images within Docker container docker docker

Spring boot 1.5.9, 404 error while accessing resources images within Docker container


I don't have enough reputation points to make a comment, so I write my comment as an answer :(

I had a similar issue with docker and resources, so I would like to help you.

Could you provide logs with TRACE level? This level helps us to see what is going on inside PathResourceResolver and according to this implementation trace is used in most cases.

In my case, it was useful and helped me.

According to this

You can enable a “trace” mode by starting your application with a --trace flag (or trace=true in your application.properties)