idea 中编辑 html 页面时 EL 表达式无故报红的问题

idea 中编辑 html 页面时 EL 表达式无故报红

idea 中编辑 html 页面时 EL 表达式无故报红的问题

修改方法settings->Editor->Inspections->thymeleaf-》找到"Expression variables and validation",取消后面的"√"保存即可!

idea 中编辑 html 页面时 EL 表达式无故报红的问题

成功演示:

idea 中编辑 html 页面时 EL 表达式无故报红的问题