idea thymeleaf页面变量报错解决

错误:Validates unresolved references and invalid expressions

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

posted @ 2019-05-20 14:00  长袖保暖  阅读(3782)  评论(0编辑  收藏  举报