LPS-49595 fix spring configuration.