Intellij IDEA Spring boot copy folder to project, path problem

copy and paste the asserts folder containing three folders of css, img, js directly into static, and there are two kinds of paths.
White screenshot, which conforms to the general logical understanding, that is, static/asserts/., but in the black IDE screenshot, it does generate static.asserts/.. Such a path cannot be renamed, only asserts can be modified.

for example, I create a new index.html file under the static folder, and then I can generate static/asserts/. This path, if you delete the index.html file, becomes static.asserts/.

.

1. How do you want to make the path in figure 1 (white)?
2. What if figure 2 (black), such as a Css file, is accessed?

Sep.09,2021

these two paths should be the same. The static.asserts path should be the asserts file under the static folder

.
Menu