出现
uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
而后台没有报错
是来自于使用了
<%@ taglib uri=“http://java.sun.com/jsp/jstl/core” prefix=“c” %>–%>
<%@ taglib uri=“http://java.sun.com/jsp/jstl/fmt” prefix=“fmt” %>
而没有导入相应的依赖包
```xml
<dependency>
<groupId>org.apache.taglibs</groupId>
<artifactId>taglibs-standard-spec</artifactId>
<version>1.2.5</version>
</dependency>
<dependency>
<groupId>org.apache.taglibs</groupId>
<artifactId>taglibs-standard-impl</artifactId>
<version>1.2.5</version>
</dependency>
导入或者注释掉代码即可
2.最新解决方案:直接将解压出来的tld文件放到WEB-INF下,或者放到WEB-INF下的新建文件夹中即可