Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Issue with Basic REST service  RSS feed

Ranch Hand
Posts: 1523
  • 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 ="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:



With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!