Description
I am getting below error if i include two spring configuration xml file with PropertyPlaceholderConfigurer. This is happening after migrating from spring 1.3.2 to 2.0.1
<object type="Spring.Objects.Factory.Config.PropertyPlaceholderConfigurer, Spring.Core"> <property name="ConfigSections" value="databaseSettings"/> </object>
{"Error creating context 'spring.root': At least one object must implement IComparable."}
InnerException : {"Errored while postprocessing an object factory."}
InnerException : {"Failed to compare two elements in the array."}
Stack trace : at Spring.Objects.Factory.Config.PropertyResourceConfigurer.PostProcessObjectFactory(IConfigurableListableObjectFactory factory)
at Spring.Context.Support.AbstractApplicationContext.InvokeObjectFactoryPostProcessors(IList objectFactoryPostProcessors, IConfigurableListableObjectFactory objectFactory)
at Spring.Context.Support.AbstractApplicationContext.InvokeObjectFactoryPostProcessors(IConfigurableListableObjectFactory objectFactory)
at Spring.Context.Support.AbstractApplicationContext.Refresh()
at Spring.Context.Support.XmlApplicationContext..ctor(XmlApplicationContextArgs args)
at Spring.Context.Support.XmlApplicationContext..ctor(String name, Boolean caseSensitive, String[] configurationLocations)
at _dynamic_Spring.Context.Support.XmlApplicationContext..ctor(Object[] )
at Spring.Reflection.Dynamic.SafeConstructor.Invoke(Object[] arguments)
at Spring.Context.Support.ContextHandler.RootContextInstantiator.InvokeContextConstructor(ConstructorInfo ctor)
at Spring.Context.Support.ContextHandler.ContextInstantiator.InstantiateContext()
at Spring.Context.Support.ContextHandler.InstantiateContext(IApplicationContext parentContext, Object configContext, String contextName, Type contextType, Boolean caseSensitive, IList`1 resources)
at Spring.Context.Support.ContextHandler.Create(Object parent, Object configContext, XmlNode section)