idea thymeleaf页面变量报错解决

错误:Validates unresolved references and invalid expressions

 idea在thymeleaf页面编写变量,如${list}会抛出错误,网上一些解决办法为ctrl + enter添加注入注释,觉得稍为繁琐,而且变量多的话代码看起来很不整洁,所以选择直接关掉了thymeleaf的检测。

猜你喜欢

转载自www.cnblogs.com/hawk-li/p/10893795.html
今日推荐