Fix Spring configuration.