Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4149

java.lang.NoSuchMethodError when running streams tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Workaround
    • None
    • None
    • None
    • None

    Description

      This started happening recently, may be related to upgrading to Gradle 3:

      java.lang.NoSuchMethodError: scala.Predef$.$conforms()Lscala/Predef$$less$colon$less;
      	at kafka.utils.MockScheduler.<init>(MockScheduler.scala:38)
      	at kafka.utils.MockTime.<init>(MockTime.scala:35)
      	at kafka.utils.MockTime.<init>(MockTime.scala:37)
      	at org.apache.kafka.streams.integration.utils.EmbeddedKafkaCluster.<init>(EmbeddedKafkaCluster.java:44)
      	at org.apache.kafka.streams.KafkaStreamsTest.<clinit>(KafkaStreamsTest.java:42)
      

      https://builds.apache.org/job/kafka-trunk-jdk7/1530/testReport/junit/org.apache.kafka.streams/KafkaStreamsTest/classMethod/

      Attachments

        Activity

          People

            Unassigned Unassigned
            ijuma Ismael Juma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: