Yup thanks to both of you.

I have put twice jackrabbit/jcr jars in common/lib and in the application
and 2 definitions of the resources !

So a bit too much ;)

Kaylan, yup I think you're right: installing the jcr as the system jars like
the mysql connector.

Thanks

Nicolas

On 5/16/07, Kalyan Sarkar <[EMAIL PROTECTED]> wrote:


Hi,
I think the jcr jar should be placed in the app server lib as a practice
and
not bundled with the application itself.

Regards,
Kalyan Sarkar


Jukka Zitting wrote:
>
> Hi,
>
> On 5/15/07, Nicolas Dufour <[EMAIL PROTECTED]> 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
>
>

--
View this message in context:
http://www.nabble.com/Strange-error-between-Tomcat%2C-Jackrabbit-and-Spring-tf3759876.html#a10635958
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Reply via email to