cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <>
Subject [2.2] Cannot resolve reference to bean SourceResolver in unit test
Date Tue, 10 Feb 2009 10:29:33 GMT
Hi Cocooners,

I'm trying to get some tests to run which rely on a components which 
uses the source resolver.

The component is declared in lenya-core-ac-components.xml as follows:

   <bean name=""
     <property name="sourceResolver" 
     <property name="repository" 

In my (TestClassName).spring.xml I reference the bean configuration file 
like this:


But I get the error

Cannot resolve reference to bean 
'org.apache.excalibur.source.SourceResolver' while setting bean property 
'sourceResolver'; nested exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean 
named 'org.apache.excalibur.source.SourceResolver' is defined

Could this be a problem of a missing dependency? The 
cocoon-template-impl tests seem to rely on components which use the 
source resolver as well, and I couldn't find a difference in my 


-- 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