4
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Thymeleaf x Spring boot x IntelliJ で spring.thymeleaf.cache=false が効かない場合の対処法

Last updated at Posted at 2021-05-02

やっと解決したぜ..
公式ドキュメントでフォローしてほしい気持ち。

結論

application.properties
spring.thymeleaf.prefix=file:src/main/resources/templates/ ## コレ!!!
spring.thymeleaf.cache=false ## spring-boot-devtools を使っていれば不要

バージョン

  • org.springframework.boot: 2.4.5
4
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?