Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 2381 invoked from network); 8 Aug 2000 20:21:29 -0000 Received: from halon.sybase.com (192.138.151.33) by locus.apache.org with SMTP; 8 Aug 2000 20:21:29 -0000 Received: from smtp1.sybase.com (sybgate.sybase.com [130.214.220.35]) by halon.sybase.com with ESMTP id NAA23706 for ; Tue, 8 Aug 2000 13:21:40 -0700 (PDT) Received: from y0k.sybase.com (y0k.sybase.com [130.214.90.120]) by smtp1.sybase.com with SMTP id NAA11059 for ; Tue, 8 Aug 2000 13:21:27 -0700 (PDT) Received: from y0k by y0k.sybase.com (5.x/SMI-SVR4/SybEC3.5) id AA17524; Tue, 8 Aug 2000 13:21:27 -0700 Message-Id: <10008082021.AA17524@y0k.sybase.com> Date: Tue, 8 Aug 2000 13:21:27 -0700 (PDT) From: Alfa Wong Reply-To: Alfa Wong Subject: problems building To: tomcat-user@jakarta.apache.org Mime-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-Md5: 3EVwJYPPZlOlEiObsECFxA== X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hello 1) I am trying to run build.sh to build in dir /jakarta-tomcat and got the following error message: init: prepare: [mkdir] Created dir: /work2/build/tomcat [mkdir] Created dir: /work2/build/tomcat/classes [mkdir] Created dir: /work2/build/tomcat/conf [mkdir] Created dir: /work2/build/tomcat/src [mkdir] Created dir: /work2/build/tomcat/lib [mkdir] Created dir: /work2/build/tomcat/logs [mkdir] Created dir: /work2/build/tomcat/bin [mkdir] Created dir: /work2/build/tomcat/doc [mkdir] Created dir: /work2/build/tomcat/webapps [copydir] Copying 9 files to /work2/build/tomcat/bin [copydir] Copying 14 files to /work2/build/tomcat/conf [copydir] Copying 25 files to /work2/build/tomcat/doc [mkdir] Created dir: /work2/build/tomcat/lib/test [mkdir] Created dir: /work2/build/tomcat/lib/test/Golden [copydir] Copying 34 files to /work2/build/tomcat/lib/test/Golden [copydir] Copying 5 files to /work2/build/tomcat/bin tomcat: [javac] Compiling 260 source files to /work2/build/tomcat/classes BUILD FAILED java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Compiled Code) at org.apache.tools.ant.taskdefs.Javac.execute(Compiled Code) at org.apache.tools.ant.Target.execute(Compiled Code) at org.apache.tools.ant.Project.runTarget(Project.java:717) at org.apache.tools.ant.Project.executeTarget(Compiled Code) at org.apache.tools.ant.Project.executeTargets(Compiled Code) at org.apache.tools.ant.Main.runBuild(Compiled Code) at org.apache.tools.ant.Main.main(Main.java:107) Total time: 3 seconds Did anyone come across the problem? Here is my environment: Classpath: setenv CLASSPATH "/work2/Solaris_JDK_1_2_1_03/lib" Platform : solaris JDK version: Solaris SPARC JDK and JRE 1.2.1_03 The jakrata-tomcast is the latest from the "Sources" link on the Jakarta page , version 3.1. 2) Also, in the build.sh for /jakarta-tomcat, there is this line: cp=../jakarta-ant/lib/ant.jar:../jakarta-tools/moo.jar:../jakarta-ant/lib/xml.j ar:../build/tomcat/classes:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dev.jar There is no dev.jar file but a dt.jar in my $JAVA_HOME/lib/dev.jar. (in addition to a tools.jar) What is this dev.jar? My JDK version is 1.2.1_03. Any help appreciated. Thanks. Al