I have around 10 xml files to be to imported to main spring config file.
All of them have a common string in their name "asset". So their names are like Aasset.xml, Basset.xml
and so on ... In my main spring config file, i am importing them as following:
<import resource="classpath*:*asset.xml" />
But this is not working when we package our code into a jar and try to run it. At runtime bean dependencies are not found.
Any ideas on this? I dont want to import files one by one.