집에서 할 때는 static 폴더 안에 index.html을 작성해서 작업하고 github에 올린 뒤,
다른 컴퓨터에서 받아와 작업을 진행을 하니 localhost:8080에서
Whitelabel Error Page
There was an unexpected error (type=Internal Server Error, status=500).
Error resolving template [index.html], template might not exist or might not be accessible by any of the configured Template Resolvers
org.thymeleaf.exceptions.TemplateInputException: Error resolving template [index.html], template might not exist or might not be accessible by any of the configured Template Resolvers
...
라는 메세지가 출력되며 index.html을 불러오지 못하더라구요
그래서 혹시나 싶어 index.html을 static폴더 말고 templates 폴더로 옮겼더니 정상적으로 작동합니다.
이유가 왜일까요? static에 두어야하는게 맞지 않나요?