kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Landon Kuhn <lan...@formant.io>
Subject Unable to build
Date Tue, 04 Jun 2019 19:02:03 GMT

I am unable to build the project and am looking for help. "./gradlew
--console=plain installAll" results in the following output:

> Configure project :
Building project 'core' with Scala version 2.12.8
Building project 'streams-scala' with Scala version 2.12.8

> Task :generator:compileJava UP-TO-DATE
> Task :generator:processResources NO-SOURCE
> Task :generator:clas./gradlew --console=plain installAllses UP-TO-DATE
> Task :clients:proces./gradlew --console=plain installAllsMessages

> Task :clients:compileJava FAILED
warning: [deprecation] PrincipalBuilder in
org.apache.kafka.common.security.auth has been deprecated
import org.apache.kafka.common.security.auth.PrincipalBuilder;
error: warnings found and -Werror specified
error: method configEntryOption in class JaasContext cannot be applied to
given types;
        String expectedPassword =
jaasContext.configEntryOption(JAAS_USER_PREFIX + username,
  required: List<AppConfigurationEntry>,String,String
  found: String,String
  reason: actual and formal argument lists differ in length
error: cannot find symbol
            return new PlainSaslServer(((SaslServerCallbackHandler)
  symbol:   method jaasContext()
  location: class SaslServerCallbackHandler
error: constructor AbstractRequest in class AbstractRequest cannot be
applied to given types;
  required: ApiKeys,short
  found: short
  reason: actual and formal argument lists differ in length


The output continues for dozens of similar errors. Here the output from
"gradle -v":

Gradle 5.4.1

Build time:   2019-04-26 08:14:42 UTC
Revision:     261d171646b36a6a28d5a19a69676cd098a4c19d

Kotlin:       1.3.21
Groovy:       2.5.4
Ant:          Apache Ant(TM) version 1.9.13 compiled on July 10 2018
JVM:          1.8.0_212 (Oracle Corporation 25.212-b03)
OS:           Linux 4.15.0-50-generic amd64

And "java -versoin":

openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b03-0ubuntu1.18.04.1-b03)
OpenJDK 64-Bit Server VM (build 25.212-b03, mixed mode)

I would appreciate any help or troubleshooting suggestions.

The reason I am trying to build Kafka is because I need to build a
development version of Confluent's S3 connector (
https://github.com/confluentinc/kafka-connect-storage-cloud) which
according to this document requires a local build of Kafka (
I've cross-posted similar information here:

Thank you,


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message