You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Gimhana Nadeeshan <gi...@cse.mrt.ac.lk> on 2019/06/12 13:39:38 UTC

Fails Test cases

Hi all,

I wrote a simple test script to test several JAX-RS REST APIs.

I used below dependency along with several other cxf dependencies. (
cxf-rt-rs-extension-providers, cxf-rt-frontend-jaxrs,cxf-rt-transports-local
)

<dependency>
  <groupId>org.apache.cxf</groupId>
  <artifactId>cxf-rt-transports-http-jetty</artifactId>
  <version>2.7.6</version>
</dependency>


I got below issue after running the test script:

*java.lang.NoSuchMethodError:
org.apache.cxf.jaxrs.provider.ProviderFactory.<init>(Lorg/apache/cxf/jaxrs/provider/ProviderFactory;Lorg/apache/cxf/Bus;)V
at
org.apache.cxf.jaxrs.client.ClientProviderFactory.<init>(ClientProviderFactory.java:49)
*

Can some one please help me to solve this?.



* <http://www.linkedin.com/in/nadeeshangimhana/>*


* <http://www.linkedin.com/in/nadeeshangimhana/>*