I'm trying to follow this tutorial, http://spring.io/guides/gs/rest-service/ 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.
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'
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?
Any help is much appreciated!
This is what my project currently looks like: