Intellij 无法在 Spring Boot 中解析百里香模板的变量

Lun*_*ape 7 intellij-idea thymeleaf spring-boot

这个帖子说问题已经解决了,但即使我有最新版本的 IntelliJ Ultimate,我似乎仍然有问题。

implementation "org.springframework.boot:spring-boot-starter-thymeleaf"在我的 gradle 设置中。

在此处输入图片说明

该应用程序工作正常,但我希望能够使用IntelliJ 提供的导航到声明功能thymeleaf-spring我的项目中已经有模块了。