• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue with Basic REST service

Mike London
Ranch Hand
Posts: 1213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(this issue is resolved. Problem was an old client jar file.)


I have a simple RESTEasy service that, although it deploys, the service does not seem to work. My goal is to just return a simple Hello xml string.

The following client code:

String location = client.target("http://localhost:8080/sayhello/Hello").request().get(String.class);


Exception in thread "main" java.lang.NoSuchMethodError: org.jboss.resteasy.spi.ResteasyProviderFactory.getClientResponseFilters()Lorg/jboss/resteasy/core/interception/ClientResponseFilterRegistry;


I'm confused by which method is the NoSuchMethodError since the code compiles fine and deploys under Tomcat and the index.jsp comes up OK.

Logs are clear of help here.

I'm therefore thinking the error above could be an issue with my very basic service.

My very basic REST service's internals are below.

Would appreciate any ideas what could be wrong.

Thanks in advance,



Domain Package (not really a domain object yet...):


Services package:





  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic