Spring boot + thymeleaf in IntelliJ: cannot resolve vars

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

    This is a problem with IntelliJ: IDEA-132738.

    Basically IntelliJ is unable to locate the model variables when Spring Boot has been used to autoconfigure everything.

提交回复
热议问题