idea thymeleaf页面变量报错解决

IDEA在thymeleaf页面编写变量,如${user.id}会出现红色波浪下划线错误,提示Validates unresolved references and invalid expressions.

在这里插入图片描述

可以选择直接关掉了thymeleaf的检测。

在这里插入图片描述

posted @ 2020-02-26 11:09  LemonSquash  阅读(1768)  评论(0)    收藏  举报