关于jstl taglib的错误 Can not find the tag library descriptor for “http://java.sun.com/jstl/core”

来源:互联网 发布:eclipse for linux汉化 编辑:程序博客网 时间:2024/05/01 05:51

在网上看了很多帖子方法以及结合我自己的项目,发现还是jar包的问题,具体为什么我也不清楚,如果有大神看到请不要吝啬回复我。

我原先在maven中的配置是这样

  <!-- jstl-->
  <dependency>
    <groupId>jstl</groupId>
    <artifactId>jstl</artifactId>
    <version>1.2</version>
    <scope>runtime</scope>
  </dependency>

当我从idea把项目拷贝一份导入eclipse时报错了,代码都没动的。

后来我改成这样子

  <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>jstl</artifactId>
            <version>1.2</version>
            <scope>runtime</scope>
        </dependency>
项目布报错了

阅读全文
0 0
原创粉丝点击