'When I use the CamelCase, accessing the static image resource in a browser gets 404

enter image description here

I'm using SpringBoot 2.2.5.RELEASE. And I have two pictures, their location is shown in the picture above.I want to test them by accessing them in Chrome. When I access bgimg.jpeg, the image appears normally. But when I access bgImg.jpg, I got a 404.

Is this because SpringBoot's static resources do not support camel naming



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source