How to apply thymeleaf changes to the browser immediately with # Spring Boot + maven
When developing in spring + maven environment, when Java changes are reflected automatically by devtools, but static files such as HTML are not automatically reflected, If you have not changed the file structure etc. in particular, add the following settings to application.yml (or application.properties), and the changes will be reflected in the browser immediately.
spring: thymeleaf: prefix: classpath:/templates/
Or it will be reflected in this writing style.
spring: thymeleaf: prefix: file:src/main/resources/templates/