fix GEOS-5995-deadlock setting spring to 3.1.4

ref here:
https://jira.codehaus.org/browse/GEOS-5995

Passed all tests.