title: Intellij cannot resolve variables of thymeleaf templates in spring boot
body: <p><a href="https://stackoverflow.com/questions/38710585/spring-boot-thymeleaf-in-intellij-cannot-resolve-vars">This thread</a> said the problem is fixed already, but it seems that I still have the problem even I have the latest version of IntelliJ Ultimate.</p>
  
  <p>I have <code>implementation "org.springframework.boot:spring-boot-starter-thymeleaf"</code> in my gradle setting.</p>
  
  <p><a href="https://i.stack.imgur.com/290m1.png" rel="noreferrer"><img src="https://i.stack.imgur.com/290m1.png" alt="enter image description here"></a></p>
  
  <p>The application works fine, but I want to be able to use <a href="https://www.jetbrains.com/help/idea/thymeleaf.html" rel="noreferrer">The Navigate to Declaration feature</a> provided by IntelliJ. I already have <code>thymeleaf-spring</code> module in my project.</p>