java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolve

Posted on 2005-05-05
Last Modified: 2013-11-24
I am getting a following error only when I use a c:set in my jsp.  All the other c tags work no problem.
java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver

            at java.lang.Class.getDeclaredMethods0(Native Method)

            at java.lang.Class.privateGetDeclaredMethods(

            at java.lang.Class.getDeclaredMethods(

            at java.beans.Introspector$

            at Method)

            at java.beans.Introspector.getPublicDeclaredMethods(

            at java.beans.Introspector.getTargetMethodInfo(

            at java.beans.Introspector.getBeanInfo(

            at java.beans.Introspector.getBeanInfo(

            at java.beans.Introspector.getBeanInfo(

            at java.beans.Introspector.<init>(

            at java.beans.Introspector.getBeanInfo(

            at org.apache.jasper.compiler.TagCache.setTagHandlerClass(

            at org.apache.jasper.compiler.TagBeginGenerator.init(

            at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(

            at org.apache.jasper.compiler.JspParseEventListener.addGenerator(

            at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(

            at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(

            at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(

            at org.apache.jasper.compiler.Parser$Tag.accept(

            at org.apache.jasper.compiler.Parser.parse(

            at org.apache.jasper.compiler.Parser.parse(

My c library is declared like this: <%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
and, just in case here's the first few lines of that c.tld file, so you know which one it is:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
  <display-name>JSTL core</display-name>
  <description>JSTL 1.0 core library</description>

Question by:aturetsky
    LVL 29

    Accepted Solution

    It maybe that your version of JSTL is corrupt. Go here: and download the 1.0 JSTL jars again to replace your current ones.
    LVL 1

    Author Comment

    thanks, yes - I had the wrong version of standard.jar sitting in my classpath
    LVL 29

    Expert Comment

    ha, don't worry dude, we've all done it, me especially :-P

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    The viewer will learn how to implement Singleton Design Pattern in Java.
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now