0 Replies Latest reply on Feb 12, 2018 1:54 AM by nickarls

    NoSuchMethod strangeness with warp rest extension

    nickarls

      I'm essentially following the example on arquillian-extension-rest/README.md at master · arquillian/arquillian-extension-rest · GitHub  but I get a

       

      java.lang.NoSuchMethodError: org.jboss.resteasy.spi.ResteasyProviderFactory.<init>(Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Z)V

      at org.jboss.resteasy.client.jaxrs.internal.LocalResteasyProviderFactory.<init>(LocalResteasyProviderFactory.java:25)

      at org.jboss.resteasy.client.jaxrs.ResteasyClientBuilder.getProviderFactory(ResteasyClientBuilder.java:333)

      at org.jboss.resteasy.client.jaxrs.ResteasyClientBuilder.buildOld(ResteasyClientBuilder.java:342)

      at org.jboss.resteasy.client.jaxrs.ResteasyClientBuilder.build(ResteasyClientBuilder.java:365)

       

      on ResteasyClient client = new ResteasyClientBuilder().build();

       

      deploying on a WildFly 11.

       

      I exported the test archive and it doensn't contain any reasteasy libraries or stuff in the org.jboss.resteasy.* namespace so how can the module confuse itself?

       

      PS. In an application that *doesn't* have the JAX-RS annotations on a separate interface, is WARP-testing the way to go?

       

      Thanks in advance,

      Nik