Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 15542 invoked from network); 15 May 2007 18:17:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 May 2007 18:17:17 -0000 Received: (qmail 60357 invoked by uid 500); 15 May 2007 18:17:22 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 60340 invoked by uid 500); 15 May 2007 18:17:22 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 60331 invoked by uid 99); 15 May 2007 18:17:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2007 11:17:22 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jukka.zitting@gmail.com designates 209.85.132.247 as permitted sender) Received: from [209.85.132.247] (HELO an-out-0708.google.com) (209.85.132.247) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2007 11:17:15 -0700 Received: by an-out-0708.google.com with SMTP id c37so553531anc for ; Tue, 15 May 2007 11:16:55 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HQN9Ur9cZ8BxHX2HuJGoyvvg7u8weTU2s/iHBC1FXZNCAjEJ+YMJWIBeWbLJVwEKjypqSJGIfVs7bd7nbsmX+mXR/wCLPVPbOGT/ERXIdWFADpsgUIsc9Kb+ElxTTRDVqoXzgOU2LdDZ7wKD9c7W/DueNXenASK614TnnQMdEvs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JwRWohz2oFKsPWUTDmOxq0rhIvxiM5FTjgF4ZW/JjhISXs22uW+CKiQz493yVbsXFgGcg67BTuzCj4X+RO29LIKN9ACToYvnfo1lgJ6i9OzF99L5s6FQX5BHKmJ9hhT+WNtmcmeJlSouSY3ZQbA6NFJe3aHSOWpf11U8ACkuklw= Received: by 10.100.136.8 with SMTP id j8mr5710956and.1179253014477; Tue, 15 May 2007 11:16:54 -0700 (PDT) Received: by 10.100.163.1 with HTTP; Tue, 15 May 2007 11:16:54 -0700 (PDT) Message-ID: <510143ac0705151116l40623fd9sbf9f5293ea2608c9@mail.gmail.com> Date: Tue, 15 May 2007 21:16:54 +0300 From: "Jukka Zitting" To: users@jackrabbit.apache.org Subject: Re: Strange error between Tomcat, Jackrabbit and Spring In-Reply-To: <8503442c0705151017p179e8a69ibc0d7c3f6d1fcbff@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8503442c0705151017p179e8a69ibc0d7c3f6d1fcbff@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, On 5/15/07, Nicolas Dufour wrote: > I got a very strange error by launching my application : > > java.lang.IllegalArgumentException: Cannot convert value of type [ > org.apache.jackrabbit.core.jndi.BindableRepository] to required type [ > javax.jcr.Repository] for property 'repository': no matching editors or > conversion strategy found > [...] > Any idea are welcome :) You are most likely loading the JCR API classes from multiple different class loaders. For example if the BindableRepository instance you have configured implements Repository from class loader A and your application is using the Repository interface from class loader B, then the exception makes perfect sense. Check that the JCR API interfaces are loaded by a shared class loader. BR, Jukka Zitting