fix to Spring xml file

Porting the fix to release-35 before release.