Spring boot + thymeleaf in IntelliJ: cannot resolve vars

后端 未结 8 1154
清酒与你
清酒与你 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

提交回复
热议问题