jsp页面中 undefined attribute name (data-options). 怎样解决

用 eclipse 写代码,使用 easyui 总出现 Undefined attribute name (data-options). 虽然不影响代码功能,但是一大堆感叹号在旁边非常蛋疼,如下图所示:

jsp页面中 undefined attribute name (data-options). 怎样解决_第1张图片
那么如何解决呢?Window --> Preferences --> Web --> HTML Files --> Editor --> Validation --> Attributes – > Undefined attribute name 选为 Ignore 即可,如下图所示:

jsp页面中 undefined attribute name (data-options). 怎样解决_第2张图片
应用后,界面清爽无比了!
jsp页面中 undefined attribute name (data-options). 怎样解决_第3张图片

内容转载自https://cloud.tencent.com/developer/article/1356808

你可能感兴趣的:(Eclipse工具操作,去除黄线)