Revert "try to fix compiling old versions of spring on the buildslave"

This reverts commit 8153083f4fd6d646edc225f82f9bc9c450dad4f7.