Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-11146

ConsulIntegrationTest fails with NoSuchMethodError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-7.5-ER1
    • fuse-7.5-GA
    • Camel, Fuse EAP
    • None

      See test failure here https://fusesource-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/wildfly-camel/job/wildfly-camel-5.3.x.redhat-7-x/112/consoleFull.

      SEVERE: Failed: org.wildfly.camel.test.consul.ConsulIntegrationTest.testServiceDiscovery
      java.lang.NoSuchMethodError: okhttp3.MediaType.get(Ljava/lang/String;)Lokhttp3/MediaType;
      	at retrofit2.converter.jackson.JacksonRequestBodyConverter.<clinit>(JacksonRequestBodyConverter.java:25)
      	at retrofit2.converter.jackson.JacksonConverterFactory.requestBodyConverter(JacksonConverterFactory.java:69)
      	at retrofit2.Retrofit.nextRequestBodyConverter(Retrofit.java:282)
      	at retrofit2.Retrofit.requestBodyConverter(Retrofit.java:262)
      	at retrofit2.ServiceMethod$Builder.parseParameterAnnotation(ServiceMethod.java:710)
      	at retrofit2.ServiceMethod$Builder.parseParameter(ServiceMethod.java:336)
      	at retrofit2.ServiceMethod$Builder.build(ServiceMethod.java:204)
      	at retrofit2.Retrofit.loadServiceMethod(Retrofit.java:170)
      	at retrofit2.Retrofit$1.invoke(Retrofit.java:147)
      	at com.orbitz.consul.$Proxy91.register(Unknown Source)
      	at com.orbitz.consul.AgentClient.register(AgentClient.java:212)
      	at com.orbitz.consul.AgentClient.register(AgentClient.java:216)
      	at org.wildfly.camel.test.consul.ConsulIntegrationTest.testServiceDiscovery(ConsulIntegrationTest.java:167)
      

            tdiesler@redhat.com Thomas Diesler
            jnethert@redhat.com James Netherton
            Jan Bouska Jan Bouska
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: