Cannot resolve taglib with uri http://java.sun.com/jsp/jstl/core

将鼠标放在红色区域,提示报错信息:Cannot resolve taglib with uri http://java.sun.com/jsp/jstl/core

原因:缺少jstl的jar包。

解决方法:在pom文件中添加jstl的依赖即可

<jstl.version>1.2</jstl.version>
<dependency>
  <groupId>jstl</groupId>
  <artifactId>jstl</artifactId>
  <version>${jstl.version}</version>
</dependency>


猜你喜欢

转载自blog.csdn.net/gramdog/article/details/79996699
今日推荐