• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Mike London

Problem with REST in Spring frame work STS

Ranch Hand
Posts: 502
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
    Bookmark Topic Watch Topic
  • New Topic