I have the same problem.  I had a JSP with JSTL working fine on
Tomcat 4.1.12 running on W2000 and MacOSX. I moved the webapp to
the same version of Tomcat on a Linux and it bombed...

All three environments had different JVMs:

Win200 -> JDK 1.4.0
MacOSX -> JDK 1.3.1
LINUX -> JDK 1.4.1

I've quatrupled checked the Linux installation and it seems fine.
I can the run some of the standard Tomcat examples and compile JSP code
so my path seems to be set correctly. Any ideas?

Thanks!
-FB

On Thursday, November 7, 2002, at 07:50  AM, Kevin Cobb wrote:

Hi all. I am new to the list and new to JSP/Custom Tags/JSTL, although I
have worked with another App Server (Dynamo) for a few years now. Just
trying to figure out how Tomcat/JSTL/Struts etc works.

I am using Tomcat 4.1.12 and the jakarta 1.0 JSTL.

I have simple custom tag that works fine - no page errors. However, when I
try and introduce one of the JSTL custom tags (c:if), I get this error. --->
java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator


I had this working at one point and then broke it somehow. Obviously, I
can't figure out how. Here is the code . . .

WEB.XML (snippet)
<taglib>
<taglib-uri>
c
</taglib-uri>
<taglib-location>
/WEB-INF/tld/c.tld
</taglib-location>
</taglib>

test JSp page
<%@ taglib prefix="test" uri="test" %>
<%@ taglib prefix="c" uri="c" %> <-- this causes the error

<html>
<head><title>Test Page for WI-DOC</title></head>
<body>

<test:testtag/>
<br/><br/>

</body>
</html>

--
To unsubscribe, e-mail: <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>

Reply via email to