jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kalyan Sarkar <kalyansarkar...@yahoo.co.in>
Subject Re: Strange error between Tomcat, Jackrabbit and Spring
Date Wed, 16 May 2007 06:02:39 GMT

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 <nrdufour@gmail.com> 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.


Mime
View raw message