Added web.xml changes 
Added dependencies in pom
Added the rest-servlet.xml