tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Exception running precompiled JSP
Date Sat, 22 Jan 2011 14:23:41 GMT
2011/1/22 Christopher Schultz <chris@christopherschultz.net>:
>    <c:forEach var="num" items="{1,2,3,4}">

The above will produce four strings, "{1", "2", "3" and "4}". There is
c:forTokens to explicitly iterate over a string.

> When I invoke the JSP from my web browser, I get the runtime error whose
> full stack trace is at the end of this post.
>
> Basically, the error is this:
>
> java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspSourceDependent
>
> I checked, and that class can be found in CATALINA_BASE/lib/jasper.jar.
>
> There are no instructions in
> http://tomcat.apache.org/tomcat-7.0-doc/jasper-howto.html that suggest
> that jasper.jar needs to be copied into the webapp's WEB-INF/lib
> directory, and that seems dangerous anyway.

You are right, you should not copy it to webapp.

I have not tried to reproduce/debug your case, but it looks like a bug to me.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message