Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 96506 invoked by uid 500); 4 Apr 2001 05:20:36 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 96492 invoked from network); 4 Apr 2001 05:20:35 -0000 Received: from unknown (HELO zoom-ads.zoomnet.zoom.com.au) (203.111.111.246) by h31.sny.collab.net with SMTP; 4 Apr 2001 05:20:35 -0000 Received: by zoom-ads.zoomnet.zoom.com.au with Internet Mail Service (5.5.2650.21) id ; Wed, 4 Apr 2001 15:23:12 +1000 Message-ID: From: Warren Crossing To: "'tomcat-user@jakarta.apache.org'" Subject: RE: NoClassDefFoundError Date: Wed, 4 Apr 2001 15:22:16 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N classpath or maybe even Xbootclasspath ?? -----Original Message----- From: Gustavo Munoz [mailto:gmunoz@interware.com.mx] Sent: Wednesday, 4 April 2001 2:26 PM To: tomcat-user@jakarta.apache.org Subject: RE: NoClassDefFoundError Just be sure about includying tools.jar in the classpath of tomcat. my two cents, gus. # -----Original Message----- # From: Hossein Tahani [mailto:tahani@cs.nmhu.edu] # Sent: Martes, 03 de Abril de 2001 09:57 p.m. # To: tomcat-user@jakarta.apache.org # Subject: Re: NoClassDefFoundError # # # # I get # JAVACMD is /usr/jdk1.3/bin/java # # Apparently, it doesn't find the # /usr/jdk1.3/lib/tools.jar that has the # sun.tools.javac.Main. But, tools.jar is in its # classpath. # # Thanks! # # Warren Crossing wrote: # > # > hey it sounds like your tomcat is using the jre not the jdk! check the # > JAVA_HOME value tomcat startup up script is using by putting # an echo command # > in the script.. # > # > -----Original Message----- # > From: Hossein Tahani [mailto:tahani@cs.nmhu.edu] # > Sent: Wednesday, 4 April 2001 12:08 PM # > To: tomcat users # > Subject: NoClassDefFoundError # > # > Hi all, # > I just joined this list. If my question has been # > answered before I would appreciate a link to the # > answer. # > # > I have installed jakarta-tomcat3.2.1 on red hat 7.0. I # > have integrated with apache1.3.19 with mod_jserv. # > # > I have no problem with servlets, but when I access some # > of the .jsp files I get the following error message: # > Root cause: # > # > java.lang.NoClassDefFoundError: sun/tools/javac/Main # > at # > # org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompile # r.java:128) # > at # > org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) # > at # > org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:478) # > at # > # org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146) # > at # > org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:449) # > ... # > ... # > ... # > # > Any idea is greatly appreciated. # > # > Hossein # > # > -- # > Hossein Tahani, Ph.D. 505-454-3301 # > Highlands University # # -- # Hossein Tahani, Ph.D. 505-454-3301 # Highlands University