<div dir="ltr"><div>Since we are cooperating with Arun on that part, my guide for all the necessary changes we are talking with Arun are the examples in github by jaikiran where there is no direct reference to it in his examples. The problem I see probably is that even if the quickstarts are mend for Wildfly they still reflect the 7.* arch right?Also from the manual you can find here : <a href="http://docs.jboss.org/resteasy/docs/3.0-beta-3/userguide/html/RESTEasy_Client_Framework.html">http://docs.jboss.org/resteasy/docs/3.0-beta-3/userguide/html/RESTEasy_Client_Framework.html</a><br>
<br></div><div>is stated clearly that is part of the jaxrs distro. Sorry if I created any confusion also to Arun.<br><br></div><div>regards<br>Nick<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Nov 5, 2013 at 2:03 PM, Bill Burke <span dir="ltr">&lt;<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Resteasy-client should be an implicit dependency.  Also, resteasy-client<br>
shouldn&#39;t really be a separate module.  For the Resteasy distro our<br>
AS7/Wildfly patch zip has resteasy-client as part of the resteasy-jaxrs<br>
module.  The reason for this is AS7 and EAP are hardcoded to implicitly<br>
import specific modules and I can&#39;t add new ones.<br>
<br>
May I patch Wildfly to remove the resteasy-client module and move the<br>
artifact to the resteasy-jaxrs module so as to be consistent with the<br>
Resteasy distro?<br>
<div class="HOEnZb"><div class="h5"><br>
On 11/5/2013 6:48 AM, Arun Gupta wrote:<br>
&gt; Sleeping only 2 hrs in the red eye flight and jet lag kicking is not helpful :-)<br>
&gt;<br>
&gt; But at least the test is running now, failing but that&#39;s a different problem!<br>
&gt;<br>
&gt; On Tue, Nov 5, 2013 at 3:43 AM, Stuart Douglas<br>
&gt; &lt;<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>&gt; wrote:<br>
&gt;&gt; That is not the same artefact.<br>
&gt;&gt;<br>
&gt;&gt; resteasy-jaxrs vs resteasy-client<br>
&gt;&gt;<br>
&gt;&gt; Stuart<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Nov 5, 2013 at 12:41 PM, Arun Gupta &lt;<a href="mailto:arun.gupta@gmail.com">arun.gupta@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; That&#39;s what I thought and added at:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <a href="https://github.com/arun-gupta/javaee7-samples/blob/master/jaxrs/pom.xml" target="_blank">https://github.com/arun-gupta/javaee7-samples/blob/master/jaxrs/pom.xml</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; But<br>
&gt;&gt;&gt; <a href="https://github.com/arun-gupta/javaee7-samples/tree/master/jaxrs/jaxrs-endpoint" target="_blank">https://github.com/arun-gupta/javaee7-samples/tree/master/jaxrs/jaxrs-endpoint</a><br>
&gt;&gt;&gt; is still giving the same error.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Any idea ?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Arun<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Tue, Nov 5, 2013 at 3:35 AM, Stuart Douglas<br>
&gt;&gt;&gt; &lt;<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt; org.jboss.resteasy:resteasy-client:3.0.5.Final<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Tue, Nov 5, 2013 at 12:33 PM, Arun Gupta &lt;<a href="mailto:arun.gupta@gmail.com">arun.gupta@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; I&#39;ve written a JAX-RS unit test using JAX-RS Client API:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;      @BeforeClass<br>
&gt;&gt;&gt;&gt;&gt;      public static void setupClass() {<br>
&gt;&gt;&gt;&gt;&gt;          Client client = ClientBuilder.newClient();<br>
&gt;&gt;&gt;&gt;&gt;          target =<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; client.target(&quot;<a href="http://localhost:8080/jaxrs-endpoint/webresources/fruit" target="_blank">http://localhost:8080/jaxrs-endpoint/webresources/fruit</a>&quot;);<br>
&gt;&gt;&gt;&gt;&gt;      }<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; But its failing with the exception:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; org.javaee7.jaxrs.endpoint.MyResourceTest  Time elapsed: 0.124 sec  &lt;&lt;&lt;<br>
&gt;&gt;&gt;&gt;&gt; ERROR!<br>
&gt;&gt;&gt;&gt;&gt; java.lang.RuntimeException: java.lang.ClassNotFoundException:<br>
&gt;&gt;&gt;&gt;&gt; org.glassfish.jersey.client.JerseyClientBuilder<br>
&gt;&gt;&gt;&gt;&gt;      at<br>
&gt;&gt;&gt;&gt;&gt; javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:103)<br>
&gt;&gt;&gt;&gt;&gt;      at<br>
&gt;&gt;&gt;&gt;&gt; javax.ws.rs.client.ClientBuilder.newClient(ClientBuilder.java:114)<br>
&gt;&gt;&gt;&gt;&gt;      at<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; org.javaee7.jaxrs.endpoint.MyResourceTest.setupClass(MyResourceTest.java:51)<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; What &lt;dependency&gt; should be included in the test classpath so that<br>
&gt;&gt;&gt;&gt;&gt; appropriate ClientBuilder instance is found ?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Arun<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt;&gt; <a href="http://blog.arungupta.me" target="_blank">http://blog.arungupta.me</a><br>
&gt;&gt;&gt;&gt;&gt; <a href="http://twitter.com/arungupta" target="_blank">http://twitter.com/arungupta</a><br>
&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt; wildfly-dev mailing list<br>
&gt;&gt;&gt;&gt;&gt; <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; <a href="http://blog.arungupta.me" target="_blank">http://blog.arungupta.me</a><br>
&gt;&gt;&gt; <a href="http://twitter.com/arungupta" target="_blank">http://twitter.com/arungupta</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
--<br>
</div></div><span class="HOEnZb"><font color="#888888">Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>\n\m<br>&quot;camel is a horse made up in a laboratory&quot;
</div>