Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 72716 invoked from network); 8 Jul 2005 09:43:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Jul 2005 09:43:37 -0000 Received: (qmail 22669 invoked by uid 500); 8 Jul 2005 09:43:34 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 22653 invoked by uid 500); 8 Jul 2005 09:43:34 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 22640 invoked by uid 99); 8 Jul 2005 09:43:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2005 02:43:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [194.175.229.106] (HELO mail.seitenbau.net) (194.175.229.106) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2005 02:43:32 -0700 Received: from [195.127.188.18] (helo=www.seitenbau.net) by router1.seitenbau.net with esmtp (Exim 4.43) id 1DqpOM-00070d-Qh for torque-user@db.apache.org; Fri, 08 Jul 2005 11:43:30 +0200 In-Reply-To: <20050708023636.51651.qmail@web53409.mail.yahoo.com> Subject: Re: Error executing 'maven torque'. Xerces class not found To: "Apache Torque Users List" X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: From: Thomas Fischer Date: Fri, 8 Jul 2005 11:43:29 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 6.5.1|January 21, 2004) at 08.07.2005 11:43:30 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, you have to include the classes the runtime torque depends on in the classpath of the compiler. In the case of the class Log, it's commons-logging.jar Thomas Anthony Spencer schrieb am 08.07.2005 04:36:36: > One step closer: > I am finally building successfully. I deleted my > build.properties file and the build succeeded. > > Now, I just can't compile the project due to lines > like these: > > log.error("Could not initialize Peer", e); > > What is log and why is it not defined in the Base > classes? > > > --- Anthony Spencer wrote: > > > Ok, I managed to move past this error by > > uninstalling > > maven, reinstalling the most stable version (I > > accidently chose the beta version in the first > > attempt), and set my own repository path. > > > > Now I receive the following error: > > > > BUILD FAILED > > File...... C:\Documents and > > Settings\tspencer\.maven\cache\maven-torque-plugin-3 > > .1.1\plugin.jelly > > Element... torque-sql > > Line...... 182 > > Column.... 49 > > Resource not found. For more information consult the > > velocity log, or invoke ant > > with the -debug flag. > > > > Line 182 is: > > templatePath="${torque.templatePath}"> > > > > Any help is greatly appreciated. My understanding > > from the documentation in Torque is that the > > templates > > are stored in the jar and would be generated for me. > > > > Tony > > > > > > --- Anthony Spencer wrote: > > > > > I am upgrading from an old version of Torque to > > the > > > latest stable release. So I've always used ANT to > > > build my object model. I installed maven and > > > downloaded the maven torque plugin per the > > > documentation. However, when I execute 'maven > > > torque' > > > I get the following error: > > > > > > BUILD FAILED > > > File...... C:\Documents and > > > > > Settings\tspencer\.maven\cache\maven-torque-plugin-3 > > > .1.1\plugin.jelly > > > Element... taskdef > > > Line...... 87 > > > Column.... -1 > > > taskdef A class needed by class > > > org.apache.torque.task.TorqueJDBCTransformTask c > > > annot be found: > > > org/apache/xerces/dom/CoreDocumentImpl > > > > > > I have all the Torque dependencies in my classpath > > > including xercesImpl-2.4.0.jar. > > > > > > Running: > > > JDK 1.4.2 > > > Torque 3.1.1 > > > > > > Any help GREATLY appreciated. > > > > > > Tony - Maven newbie > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Tired of spam? Yahoo! Mail has the best spam > > > protection around > > > http://mail.yahoo.com > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > > torque-user-unsubscribe@db.apache.org > > > For additional commands, e-mail: > > > torque-user-help@db.apache.org > > > > > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - Find what you need with new enhanced > > search. > > http://info.mail.yahoo.com/mail_250 > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > torque-user-unsubscribe@db.apache.org > > For additional commands, e-mail: > > torque-user-help@db.apache.org > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > For additional commands, e-mail: torque-user-help@db.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org