cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <>
Subject [2.2] LinkageError: WebAppClassLoader vs. ResourceStoreClassLoader
Date Wed, 28 Oct 2009 10:56:02 GMT
Hi everyone,

when using the RCL classloader I just can't get rid of this error:

java.lang.LinkageError: loader constraint violation in interface itable 
initialization: when resolving method 

the class loader (instance of 
org/apache/commons/jci/stores/ResourceStoreClassLoader) of the current 
class, mypackage/BatchProcessManagerImpl, and the class loader (instance 
of org/mortbay/jetty/webapp/WebAppClassLoader) for interface 
mypackage/BatchProcessManager have different Class objects for the type 
mypackage/Invoker used in the signature

It occurs immediately for the first request after starting up Jetty. 
What could be the reason that the interface is loaded by the 
WebAppClassLoader and the implementation by the 
ResourceStoreClassLoader? Problably a Spring thing …

Any hints would be very welcome!

Thanks a lot in advance,

-- Andreas

Andreas Hartmann, CTO
BeCompany GmbH
Tel.: +41 (0) 43 818 57 01

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message