http://stackoverflow.com/questions/13428788/according-to-tld-or-attribute-directive-in-tag-file-attribute-items-does-not-ac
Your JSTL taglib URI is wrong. The one which you've there is for legacy JSTL 1.0. Since JSTL 1.1 there's an additional /jsp
path in the taglib URI, because expression language (those ${}
things) has been moved from JSTL to JSP and hence taglibs of JSTL 1.0 and 1.1 are not interchangeable.
如果原因是如上,则把下面的
<%@ taglib uri='http://java.sun.com/jstl/core' prefix='c'%>修改为
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
来源:https://www.cnblogs.com/SamuelSun/p/6422410.html