Fix spring configuration.