In SpringBoot, SRC/main/directory,
((1) Visit Resources by default
Test in the/resources/directory.html file,
((2) Nothing to visit Resources
Test in the/static/directory.html file,
((3) Nothing to visit Resources
The test in the/public/directory.html file,
((4) No visit to webapp/Test in the directory.html file,(5) If not, you will visit the error in the page.
(Note: SRC
Test in the/main/resources/directory.HTML will never be accessed. )
That is, according to the directory structure I have established, from1-4Find in order, and for5Don't find it at all.
The corresponding picture is shown below: