Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 62632 invoked from network); 3 Apr 2007 13:03:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2007 13:03:38 -0000 Received: (qmail 76293 invoked by uid 500); 3 Apr 2007 13:03:41 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 76270 invoked by uid 500); 3 Apr 2007 13:03:41 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 76259 invoked by uid 99); 3 Apr 2007 13:03:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [212.247.90.225] (HELO mail.scandorama.se) (212.247.90.225) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 06:03:39 -0700 Received: from localhost (kreon.scandorama.se [10.48.37.12]) by mail.scandorama.se (Postfix) with ESMTP id C5F7212D09 for ; Tue, 3 Apr 2007 15:02:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at kreon.scandorama.se Received: from mail.scandorama.se ([10.48.37.4]) by localhost (kreon.scandorama.se [10.48.37.12]) (amavisd-new, port 10025) with ESMTP id CGV7RQBYiVSD for ; Tue, 3 Apr 2007 15:02:32 +0200 (CEST) Received: from [10.48.37.115] (dator-115.scandorama.se [10.48.37.115]) by mail.scandorama.se (Postfix) with ESMTP id 64ED212D02 for ; Tue, 3 Apr 2007 15:02:33 +0200 (CEST) Message-ID: <46125069.5060602@pmb.mine.nu> Date: Tue, 03 Apr 2007 15:02:33 +0200 From: Peter Petersson User-Agent: Thunderbird 1.5.0.10 (X11/20070307) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: Library conflict References: <9809417.post@talk.nabble.com> In-Reply-To: <9809417.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org jgunz wrote: > I've been trying to build and deploy a GBean in a WAR file that contains a > set of third-party dependency libraries in WEB-INF/lib. One of these > libraries is XmlBeans 2.2.0. My application deploys fine but when it tries > to use XmlBeans I get a "no such method exception" which appears to be > caused by the use of an older version of XmlBeans. Geronimo uses 2.0.0 from > its repository and this seems to be the library that is used instead of the > bundled JAR. > > Is there a solution to this problem that doesn't involve degrading to 2.0.0 > and or using the common repository. I'd like to avoid the common repository > to simplify the deployment procedure. > > I'm using geronimo-tomcat6-jee5-2.0-M3. > > Thanks. > If I understand your right you could try using a hidden classes filter in your Geronimo configuration (geronimo-web.xml) file like this: : : : XmlBeans This will hide the Geronimo global XmlBeans classes from your application. Cheers! Peter Petersson