fix spring context error