Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 33965 invoked from network); 3 Dec 2007 08:27:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2007 08:27:54 -0000 Received: (qmail 93036 invoked by uid 500); 3 Dec 2007 08:27:31 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 93016 invoked by uid 500); 3 Dec 2007 08:27:31 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 93005 invoked by uid 99); 3 Dec 2007 08:27:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 00:27:31 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of delbd+jakarta@oma.be designates 193.190.231.71 as permitted sender) Received: from [193.190.231.71] (HELO bonnie1.oma.be) (193.190.231.71) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 08:27:08 +0000 Received: from bonnie1.oma.be (localhost [127.0.0.1]) by bonnie1.oma.be (8.13.6/8.11.1) with ESMTP id lB38R8AT020369 for ; Mon, 3 Dec 2007 08:27:09 GMT Received: from [193.190.249.120] (cal-12.oma.be [193.190.249.120]) by bonnie1.oma.be (8.13.6/8.11.1) with ESMTP id lB38R8LZ020364 for ; Mon, 3 Dec 2007 08:27:08 GMT Message-ID: <4753BD0E.2040309@oma.be> Date: Mon, 03 Dec 2007 09:23:42 +0100 From: David Delbecq User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: error with javac References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Put your classes in packages. Specs forbid the use of package-less classes in web container. En l'instant pr�cis du 03/12/07 09:14, rameau rameau1982 s'exprimait en ces termes: > hi, I have 2 java classes in the same directory. One of them > (SlateServlet.java) creates a new object from the other class > (UsersDB.java). When I compile UsersDB, everything is correct and the > .class archive is in the same path as the other .java archives. But > when I want to compile the SlateServletjava archive it gives me 3 > errors telling that it doesn't knows the class UsersDB when it tries > to create an object UserDB. > What am I doing wrong? I've put the codes for this two java classes. > Thankyou > > ------------------------------------------------------------------------ > Tecnolog�a, moda, motor, viajes,�suscr�bete a nuestros boletines para > estar a la �ltima MSN Newsletters > > > ------------------------------------------------------------------------ > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org -- http://www.devlog.be (a belgian developer's logs) --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org