• Post Reply Bookmark Topic Watch Topic
  • New Topic

Failed : HTTP error code : 415--- when doing rest service  RSS feed

 
Maan Suraj
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all

i am trying to develop REST webservice. I am using the code from "http://examples.javacodegeeks.com/enterprise-java/rest/jersey/json-example-with-jersey-jackson/". I have exactly same code . I have deployed this service on tomcat7. I get an exception when it tries to invoke the service




I get an excpetion which says
"java.lang.RuntimeException: Failed : HTTP error code : 415"


I tried some other egample as well ( i think from mykong site) and got the same exception. Please help
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!