Fix Spring configuration error.