开发者

java.lang.NoClassDefFoundError: javax/el/ValueExpression

开发者 https://www.devze.com 2023-02-04 01:58 出处:网络
i am using tomcat 5.5.12 i have this code in a jsp file : <jsp:useBean id=\"abbreviationlist\" class=\"lexicon.contents.types.AbbreviationListType\"/>

i am using tomcat 5.5.12 i have this code in a jsp file :

<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>

i get this error message -

javax.servlet.ServletException: javax/el/ValueExpression org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause java.lang.NoClassDefFoundError: javax/el/ValueExpression

i tried downloadin jstl 1.1 (standard.jar, jstl.jar) and putting them inside catalina/commun/lib and inside the WEB开发者_开发技巧-INF/lib directory. that didnt help either. any help will be appreciated.


In my project we have el-api.jar that contains javax/el/ValueExpression. Do you have that jar in classpath?

0

精彩评论

暂无评论...
验证码 换一张
取 消