Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 53220 invoked by uid 500); 4 Apr 2001 02:56:40 -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 53213 invoked from network); 4 Apr 2001 02:56:39 -0000 Received: from tricera.nmhu.edu (192.132.89.173) by h31.sny.collab.net with SMTP; 4 Apr 2001 02:56:39 -0000 Received: from cs.nmhu.edu (ASPEN [207.66.121.162]) by tricera.nmhu.edu with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 2FQJFVJP; Tue, 3 Apr 2001 21:00:35 -0600 Message-ID: <3ACA8D85.5AD693EA@cs.nmhu.edu> Date: Tue, 03 Apr 2001 19:57:09 -0700 From: Hossein Tahani X-Mailer: Mozilla 4.5 [en]C-CCK-MCD SGI (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: NoClassDefFoundError References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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(SunJavaCompiler.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