Fixed a bug of not using the up-to-date spring config files