Added spring dependencies.
Pushing broken code for stackoverflow.
I am getting an resource unavailable exception.