suppose I have a master Spring config file called master.xml and i have child config file called child1.xml.
and i want to include child1.xml in master.xml as follows.
<beans:import resource="classpath:child1.xml" />
So far it works fine for me. then i tried to inject spring component defined in master.xml to component defined in child1.xml. then i got an error saying
but other way around works fine. that means i was able to inject a component define in child1.xml to component defined in master.xml.
Error creating bean with name 'org.springframework.integration.config. etc.....
how actually these included xml files instantiate beans? is there any particular way and order?
appreciate your help.