I created a REST Web Service with the tutorial "http://www.journaldev.com/2552/spring-rest-example-tutorial-spring-restful-web-services", but I am getting a 404 Error running the client. Debugging I found out that in class RestTemplate, method doWithRequest at line 504
List<MediaType> allSupportedMediaTypes = new ArrayList<MediaType>();
allSupportedMediaTypes is empty.
The URI is
http://localhost:8080/FIRST_REST; in tne pom.xml I have <artifactId>FIRST_REST</artifactId> and <name>FIRST_REST</name>, but maybe the URI is wrong.