That is not the same artefact.
resteasy-jaxrs vs resteasy-client
Stuart
On Tue, Nov 5, 2013 at 12:41 PM, Arun Gupta <arun.gupta(a)gmail.com> wrote:
That's what I thought and added at:
https://github.com/arun-gupta/javaee7-samples/blob/master/jaxrs/pom.xml
But
https://github.com/arun-gupta/javaee7-samples/tree/master/jaxrs/jaxrs-end...
is still giving the same error.
Any idea ?
Arun
On Tue, Nov 5, 2013 at 3:35 AM, Stuart Douglas
<stuart.w.douglas(a)gmail.com> wrote:
> org.jboss.resteasy:resteasy-client:3.0.5.Final
>
>
> On Tue, Nov 5, 2013 at 12:33 PM, Arun Gupta <arun.gupta(a)gmail.com>
wrote:
>>
>> I've written a JAX-RS unit test using JAX-RS Client API:
>>
>> @BeforeClass
>> public static void setupClass() {
>> Client client = ClientBuilder.newClient();
>> target =
>> client.target("http://localhost:8080/jaxrs-endpoint/webresources/fruit
");
>> }
>>
>> But its failing with the exception:
>>
>> org.javaee7.jaxrs.endpoint.MyResourceTest Time elapsed: 0.124 sec
<<<
>> ERROR!
>> java.lang.RuntimeException: java.lang.ClassNotFoundException:
>> org.glassfish.jersey.client.JerseyClientBuilder
>> at
javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:103)
>> at
javax.ws.rs.client.ClientBuilder.newClient(ClientBuilder.java:114)
>> at
>>
org.javaee7.jaxrs.endpoint.MyResourceTest.setupClass(MyResourceTest.java:51)
>>
>> What <dependency> should be included in the test classpath so that
>> appropriate ClientBuilder instance is found ?
>>
>> Arun
>>
>> --
>>
http://blog.arungupta.me
>>
http://twitter.com/arungupta
>> _______________________________________________
>> wildfly-dev mailing list
>> wildfly-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/wildfly-dev
>
>
--
http://blog.arungupta.me
http://twitter.com/arungupta