在标签下面加上

<!--suppress ALL-->

代码如图:

IDEA thymeleaf  ${xxx.xxx}表达式报错,红色波浪线

不再报错,效果如下图:

IDEA thymeleaf  ${xxx.xxx}表达式报错,红色波浪线

相关文章: