Hi,

Any help will be greatly appreciated.

My current server has the following environment:
Tomcat Version => Apache Tomcat/5.0.12
JVM Version => 1.4.2-b28
JVM Vendor => Sun Microsystems Inc.
Redhat Linux 9
   OS Name => Linux
   OS Version => 2.4.20-8
   OS Architecture => i386
Tag Library => 1.1

Profile setup (selected):
CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/*.jar:$JAVA_HOME/jre/lib/*.jar:$AXISCLASSPATH
AXISCLASSPATH=$AXIS_LIB/axis.jar:$AXIS_LIB/commons-discovery.jar:$AXIS_LIB/commons-logging.jar:$AXIS_LIB/jaxrpc.jar:$AXIS_LIB/saaj.jar:$AXIS_LIB/log4j-1.2.8.jar:$CATALINA_HOME/common/endorsed/xercesImpl.jar:$CATALINA_HOME/common/endorsed/xml-apis.jar:$CATALINA_HOME/common/endorsed/xmlParserAPIs.jar:$AXIS_LIB/wsdl4j.jar:$CATALINA_HOME/common/lib/activation.jar

servlet-api.jar can be found in <CATALINA_HOME>/common/lib 
 
I'm trying to run JSP applications that uses JSTL but I get this error
all the time.  I get the same error even while running the simplest JSTL
application.

Here is the Server Error that I get:

HTTP Status 500 - 

________________________________________________________________________

type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception


javax.servlet.ServletException: javax/servlet/jsp/tagext/TagLibraryValidator
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

root cause


java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator
        java.lang.ClassLoader.defineClass0(Native Method)
        java.lang.ClassLoader.defineClass(ClassLoader.java:537)
        java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        java.security.AccessController.doPrivileged(Native Method)
        java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        java.lang.ClassLoader.defineClass0(Native Method)
        java.lang.ClassLoader.defineClass(ClassLoader.java:537)
        java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        java.security.AccessController.doPrivileged(Native Method)
        java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        java.lang.ClassLoader.loadClass(ClassLoader.java:282)
        sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1278)
        
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1212)
        
org.apache.jasper.compiler.TagLibraryInfoImpl.createValidator(TagLibraryInfoImpl.java:654)
        
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:293)
        org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:204)
        org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:460)
        org.apache.jasper.compiler.Parser.parseDirective(Parser.java:525)
        org.apache.jasper.compiler.Parser.parseElements(Parser.java:1625)
        org.apache.jasper.compiler.Parser.parse(Parser.java:173)
        org.apache.jasper.compiler.ParserController.parse(ParserController.java:247)
        org.apache.jasper.compiler.ParserController.parse(ParserController.java:149)
        org.apache.jasper.compiler.ParserController.parse(ParserController.java:135)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:243)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:437)
        org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:555)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

note The full stack trace of the root cause is available in the Tomcat
logs.


************
************

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to