I am not able to Edit post here, for that i am giving same post wit editing.
I am trying to do a Spring helloWorld example by watching by this link HelloWorldExample.
The source code has given below. Here problem is when i am running this i getting error. I have also given the stack trace.