【发布时间】:2011-01-11 08:23:15
【问题描述】:
我正在使用 tomcat 5.5.12 我在 jsp 文件中有这段代码:
<jsp:useBean id="abbreviationlist" class="lexicon.contents.types.AbbreviationListType"/>
<jsp:setProperty name="abbreviationlist" property="id"/>
<table>
<c:forEach items="${abbreviationlist.list}" var="abbreviation">
<tr>
</tr>
</c:forEach>
</table>
我收到此错误消息 -
javax.servlet.ServletException: javax/el/ValueExpression org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
根本原因 java.lang.NoClassDefFoundError: javax/el/ValueExpression
我尝试下载 jstl 1.1 (standard.jar, jstl.jar) 并将它们放在 catalina/commun/lib 和 WEB-INF/lib 目录中。 那也没有帮助。 任何帮助将不胜感激。
【问题讨论】: