Eclipse - Spring Web Maven - Restful Web Service
Project->Properties->Project Facets
Dynamic Web Module 2.5
Java 1.7
JavaScript 1.0
Maven->Update Project
Project will include spring-web-xxx.jar
OR
use template
Spring MVC Project
<context:component-scan base-package=""/>
must be in mvc-config.xml