Spring boot + thymeleaf in IntelliJ: cannot resolve vars

后端 未结 8 1156
清酒与你
清酒与你 2021-02-05 02:44

I\'m writing a short web form application using spring boot and thymeleaf on IntelliJ, but it seems that in the html file, all fields in the model cannot be resolved. Here is my

相关标签:
8条回答
  • 2021-02-05 03:26

    There is one more interesting situation ,if you DONT return directly the object from your controller ,Intellij will not recognize the variable ,but she will still work

    0 讨论(0)
  • 2021-02-05 03:27

    This feature is supported in the Ultimate edition only.

    Click here for more details

    0 讨论(0)
提交回复
热议问题