java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/ConditionalTagSupport 解决办法

1.报错截图

2.问题原因

缺少对应的类

3.问题解决

        <dependency>
            <groupId>taglibs</groupId>
            <artifactId>standard</artifactId>
            <version>1.1.2</version>
        </dependency>
        <dependency>
            <groupId>javax.servlet.jsp.jstl</groupId>
            <artifactId>jstl</artifactId>
            <version>1.2</version>
        </dependency>

        <dependency>
            <groupId>javax.servlet.jsp.jstl</groupId>
            <artifactId>jstl-api</artifactId>
            <version>1.2-rev-1</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish.web</groupId>
            <artifactId>jstl-impl</artifactId>
            <version>1.2</version>
        </dependency>

 

 

posted @ 2023-04-05 14:22  changfan  阅读(120)  评论(0编辑  收藏  举报