Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 38548 invoked from network); 12 Sep 2007 16:10:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Sep 2007 16:10:15 -0000 Received: (qmail 96330 invoked by uid 500); 12 Sep 2007 16:10:04 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 96278 invoked by uid 500); 12 Sep 2007 16:10:04 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 96269 invoked by uid 99); 12 Sep 2007 16:10:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 09:10:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [213.46.255.22] (HELO viefep17-int.chello.at) (213.46.255.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 16:11:38 +0000 Received: from edge03 ([192.168.13.238]) by viefep17-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20070912160940.DMOR6650.viefep17-int.chello.at@edge03> for ; Wed, 12 Sep 2007 18:09:40 +0200 Received: from [213.46.255.22] ([213.46.255.22:15904] helo=viefep18) by edge03.chello.at (envelope-from ) (ecelerity 2.2.1.21 r()) with ESMTP id D8/F3-02538-34F08E64; Wed, 12 Sep 2007 18:09:40 +0200 Message-ID: <15094291.1189613380053.JavaMail.root@viefep18> Date: Wed, 12 Sep 2007 18:09:39 +0200 From: Simon Kitching To: Jakarta Commons Users List Subject: Re: betwixt 0.8: java.lang.NoSuchMethodError: org.apache.commons.collections.ArrayStack: method (I)V not found Cc: acec acec MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Sensitivity: Normal X-Originating-IP: from 62.116.38.218 by web-edge.chello.com; Wed, 12 Sep 2007 18:09:38 +0200 X-Virus-Checked: Checked by ClamAV on apache.org ---- acec acec schrieb: > I am using maven, in my pom.xml, I have the follows: > > 0.8 > > > commons-betwixt > commons-betwixt > ${commons-betwixt-version} > provided > > > > But when I was running my software, I got : > Exception in thread "main" > java.lang.NoSuchMethodError: > org.apache.commons.collections.ArrayStack: method > (I)V not found > > Do I need to a explicit dependency of commons > collection? Odd. Betwixt 0.8 has a dependency on BeanUtils1.7. For historical reasons, BeanUtils 1.7 contains a copy of that class. So you should have the class available. BeanUtils 1.8-beta removes this class, so if you are using that then for some reason then yes you do have to add commons-collections in as a dependency. Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org