在使用IDEA开发SpringBoot项目时,使用了Thymeleaf模板引擎,在使用动态传参数时,HTML页面的动态参数出现了红色波浪线,情况如下如:

springboot+thymeleaf 模板中传递参数误报错误 红色波浪线

解决办法:

选择 File -> Settings -> Editor -> Inspections找到Thmeleaf,将后边的√取消选中就可以了。

springboot+thymeleaf 模板中传递参数误报错误 红色波浪线

 

相关文章:

  • 2022-01-16
  • 2021-07-17
  • 2021-12-30
  • 2022-12-23
  • 2022-12-23
  • 2021-06-15
  • 2021-12-16
  • 2021-09-25
猜你喜欢
  • 2021-11-16
  • 2021-11-30
  • 2021-05-28
  • 2021-05-10
相关资源
相似解决方案