Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 28049 invoked by uid 500); 6 Jun 2001 19:54:27 -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 27994 invoked from network); 6 Jun 2001 19:54:24 -0000 Received: from bv.com (HELO bvgate1.bv.com) (147.182.5.10) by h31.sny.collab.net with SMTP; 6 Jun 2001 19:54:24 -0000 Received: by bvgate1.bv.com; id OAA12124; Wed, 6 Jun 2001 14:54:11 -0500 (CDT) Received: from unknown(147.182.19.100) by bvgate1.bv.com via smap (V5.5) id xma012109; Wed, 6 Jun 01 14:54:06 -0500 Received: by bvmail00.bv.com with Internet Mail Service (5.5.2650.21) id ; Wed, 6 Jun 2001 14:54:04 -0500 Message-ID: <4B347525D1D5D411872B00508BF9FEE663994E@bvmail06.kc.bv.com> From: "Maddux, Craig" To: "'tomcat-user@jakarta.apache.org'" Subject: RE: Error 500 Date: Wed, 6 Jun 2001 14:55:40 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Checked everything you suggested to me. From the command prompt, the Classpath it builds includes, among several other things, c:\jdk\lib\tools.jar . I verified that this is, indeed, where the tools.jar is located at. I then went and found the examples of JSP pages that is provided with Tomcat. Displaying web pages and servlets works just fine. However, whenever I try and view a JSP page, I get the following error: Root cause: java.lang.NoClassDefFoundError: sun/tools/javac/Main Any other suggestions? > -----Original Message----- > From: Randy Layman [SMTP:randy.layman@aswethink.com] > Sent: Wednesday, June 06, 2001 1:25 PM > To: tomcat-user@jakarta.apache.org > Subject: RE: Error 500 > > > When you start Tomcat (from the command line) what is your > classpath? Does tools.jar appear here? If so, then the problem isn't > that > tools.jar isn't being included (obviously) and you probably want to post > your exact error message. If its not in the classpath, I would suggest > looking at tomcat.bat/.sh and how it builds the classpath to determine > which > path of execution you are taking and why tools.jar is not included. > > Randy > > > > -----Original Message----- > > From: Maddux, Craig [mailto:MadduxC@bvsg.com] > > Sent: Wednesday, June 06, 2001 2:22 PM > > To: tomcat-user@jakarta.apache.org > > Subject: Error 500 > > > > > > I've gotten what seems to be a rather common error, after > > having reviewed > > the mailing archives... but none of the solutions that seem > > to work for > > those > > other people have solved my problem. > > > > For JSP pages, Tomcat can't find the sun/tools/javac/main. > > This is, of > > course, > > located in the tools.jar. So far, this is what I've done: > > > > Specified JAVA_HOME to the root of my jdk (version 1.3, > > though I have tried, > > and > > gotten similar results, with 1.2.2). > > > > Classpaths - I've put the necessary classpaths in. I've > > moved all of the > > tomcat/lib jars > > over to the jdk classpath jre/lib/ext, as had been suggested > > previously. > > I've even gone > > so far as to specificy, exactly, the tools.jar file (i.e., > > c:\jdk\lib\tools.jar) > > > > Path - I've included my jdk bin directory in the path, and > > have access to > > javac > > from any directory. > > > > I've also tried reinstalling Tomcat, with a fresh download, and still > > nothing worked. Any > > suggestions as to what to try next? > >