I\'m a beginner and learning spring and hibernate (utilizing maven in project)and came across this problem and got stuck here. tried finding solution but ended up no where.
add servlet-api jar file which is present in the lib folder under tomcat folder.
You can do this as follows
Project -> properties -> java build path -> under libraries click add external jars
after that go to project -> clean -> build all.
this worked for me.