Upgrade spring dependencies

Upgrade spring dependencies to fix build errors