如图:有jstl标记和option标签的地方都是大片大片的错误
IDE显示的错误信息都类似如下
但这并不是没有闭合标签造成的
Multiple annotations found at this line:
- Start tag () not closed properly,
expected ‘>’.
- Missing end tag for “c:if”
解决办法:
eclipse官网有给出解决办法:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=518987#c0
1.
2.
3.用该jar包覆盖掉IDE安装路径下plugins目录中的org.eclipse.wst.html.core_1.2.100.v201705012043.jar
(将下载的jar更名为“org.eclipse.wst.html.core_1.2.100.v201705012043.jar”,然后复制替换掉即可。
Mac用户右键eclipse.app->show Package Contents中找到plugins)
4.问题解决,依然有错的就重启一下