title: Spring REST tutorial
body: <p>I'm trying to follow this tutorial, <a href="http://spring.io/guides/gs/rest-service/" rel="nofollow noreferrer">http://spring.io/guides/gs/rest-service/</a> to create a simple Spring REST implementation, and have got to the end of the project. When I open up my application on localhost:8080/greeting, I get a 404 not found error. I have been searching for a long time with no result on how to solve this. I'm not sure if I need a web.xml, as the tutorial states, with Jackson, a web.xml isn't needed.</p>
  
  <p>It states "And because the application also depends on Spring MVC (spring-webmvc.jar), a Spring MVC DispatcherServlet is configured and registered for you — no web.xml necessary'</p>
  
  <p>So, I'm not entirely sure what I'm doing wrong here. I am using Spring Tool Suite, and have also tried to import the Spring REST tutorial in case that makes any difference. Should this be created as a Spring MVC project in Spring Tool Suite?</p>
  
  <p>Any help is much appreciated!</p>
  
  <p>This is what my project currently looks like: <img src="https://i.stack.imgur.com/UhAlF.jpg" alt="enter image description here"></p>