(this issue is resolved. Problem was an old client jar file.)
Hello,
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);
returns:
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,
-mike
----------------------
Domain Package (not really a domain object yet...):
------
Services package:
GetHelloResource.java
------
HelloApplication.java
====
Maven POM.XML
Hello,
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);
returns:
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,
-mike
----------------------
Domain Package (not really a domain object yet...):
------
Services package:
GetHelloResource.java
------
HelloApplication.java
====
Maven POM.XML