Fix Spring application context configuration