reconfigure the spring xml file from version 3.0 to 3.1