upgrade spring version to 4.0 to use rest controller