reconfigure the spring xml file from 3.0 to 3.1