cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò <>
Subject Re: Spring Configurator in an OSGi environment
Date Fri, 26 Aug 2011 10:36:53 GMT
On 26/08/2011 12:31, Barbara Rosi-Schwartz wrote:
> Ooops, sorry, I forgot to paste the exception in. Here it is:
> _org.xml.sax.SAXParseException_: cvc-complex-type.2.4.c: The matching 
> wildcard is strict, but no declaration can be found for element 
> 'configurator:settings'.

It seems that one of your Spring XML files is not containing the needed 
declarations for the configuration namespace; such file should have an 
header like as the following:

<beans xmlns=""


> Thanks again
> *From:*Barbara Rosi-Schwartz []
> *Sent:* 26 August 2011 11:29
> *To:*
> *Subject:* Spring Configurator in an OSGi environment
> Hello everyone.
> I am wondering if anybody has any experience of using the Spring 
> Configurator in an OSGi environment.
> I am running an application under Eclipse Virgo (version 
> 3.0.0.RELEASE) and I would like to use the Configurator for my 
> multi-environment requirements. I have OSGi-ified the Configurator's 
> jar and I have build a very simple test program to try it out and 
> learn it.
> Unfortunately, when my spring config file is read, I get the following 
> exception:
> This seems to indicate that the Configurator's schema file is not 
> found. I have checked the structure of my Configurator OSGi bundle and 
> it is exactly the same as the original jar, with all the schema files 
> and the spring.schema and spring.handlers files where they are expected.
> I have been in contact with the OSGi/Virgo guys to explore whether or 
> not this is an OSGi issue, but so far with no success.
> Does anybody have any experience or ideas to contribute?
> TIA,
> B.
Francesco Chicchiriccò

Apache Cocoon Committer and PMC Member

View raw message