tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Kukulies <>
Subject Re: some jsp examples fail with Error 500
Date Wed, 15 Nov 2000 10:08:26 GMT
Interestingly I found this answer only in the archive but not (yet) 
in my mail. Anyway, I searched further and found that tomcat issues the
following error:

Unhandled error! You might want to consider having an error page to report such errors more
java.lang.NoClassDefFoundError: org/apache/jasper/compiler/JavaCompiler
        at org.apache.jasper.JspEngineContext.createCompiler(
        at org.apache.jasper.runtime.JspServlet.loadJSP(
        at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(
        at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(
        at org.apache.jasper.runtime.JspServlet.serviceJspFile(
        at org.apache.jasper.runtime.JspServlet.service(
        at javax.servlet.http.HttpServlet.service(
        at org.apache.tomcat.core.ServletWrapper.handleRequest(
        at org.apache.tomcat.core.Co

This can be found several times in the archives and in many cases 
tools.jar is the answer.

I located tools.jar in my system only in /usr/local/jdk1.2/lib
ans since I'm using jdk1.1.8 I was not worrying about it. I now put
tools.jar explicitly in my CLASSPATH but things still do not 

Same error message (as above).

Now you write I should include jasper.jar in my classpath. Hmm. Surely
an important piece, that jasper.jar but locate jasper.jar
doesn't give me any hit. Strange. Did I ever compile it during tomcat ant 
installation? I'm not sure now. How can I generate jasper.jar separately?

Thanks for helping.

> Do you include jasper.jar and tools.jar in your classpath?
>> -----Original Message-----
>> From: Christoph Kukulies []
>> Sent: November 15, 2000 12:35 AM
>> To:
>> Subject: some jsp examples fail with Error 500
>> After working with Tomcat 3.1/apache for a while now the project
>> is growing and demands and complexity grow as well. I wanted to use
>> my first own jsp application and while trying out the examples
>> I find that everything that accesses the compiler doesn't work.
>> Since the logs are spread all over the system (tomcat.log, http-error.log
>> etc.)
>> all I can locate is jasper.log:
>> <JASPER_LOG> Wed Nov 15 09:33:48 CET 2000 Classpath according to the Servlet
>> Eng
>> ine is:
>> /usr/local/build/tomcat/webapps/examples/WEB-INF/classes</JASPER_LOG>
Chris Christoph P. U. Kukulies

View raw message