求解?jstl不能用,在edit.jsp中Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core_rt"。pom上也申明依赖了,也重新mvn compile为啥还是不行?
<%@ page language="java"
contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core_rt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
pom.xml
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
<version>1.1.2</version>
</dependency>
我看了一下compile maven后 Maven Dependencies中有jstl和 taglibs的jar包,可jsp页面仍是报Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core_rt"