kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Landon Kuhn <landon9...@gmail.com>
Subject Error building
Date Tue, 04 Jun 2019 18:16:36 GMT
Hello,

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
UP-TO-DATE

> Task :clients:compileJava FAILED
/home/landon/src/kafka/kafka/clients/src/main/java/org/apache/kafka/common/network/DefaultAuthenticator.java:23:
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
/home/landon/src/kafka/kafka/clients/src/main/java/org/apache/kafka/common/security/plain/PlainSaslServer.java:104:
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
/home/landon/src/kafka/kafka/clients/src/main/java/org/apache/kafka/common/security/plain/PlainSaslServer.java:173:
error: cannot find symbol
            return new PlainSaslServer(((SaslServerCallbackHandler)
cbh).jaasContext());
                                                                        ^
  symbol:   method jaasContext()
  location: class SaslServerCallbackHandler
/home/landon/src/kafka/kafka/clients/src/main/java/org/apache/kafka/common/requests/InitPidRequest.java:68:
error: constructor AbstractRequest in class AbstractRequest cannot be
applied to given types;
        super(version);
        ^
  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":

> 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
UP-TO-DATE

> Task :clients:compileJava FAILED
/home/landon/src/kafka/kafka/clients/src/main/java/org/apache/kafka/common/network/DefaultAuthenticator.java:23:
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
/home/landon/src/kafka/kafka/clients/src/main/java/org/apache/kafka/common/security/plain/PlainSaslServer.java:104:
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
/home/landon/src/kafka/kafka/clients/src/main/java/org/apache/kafka/common/security/plain/PlainSaslServer.java:173:
error: cannot find symbol
            return new PlainSaslServer(((SaslServerCallbackHandler)
cbh).jaasContext());
                                                                        ^
  symbol:   method jaasContext()
  location: class SaslServerCallbackHandler
/home/landon/src/kafka/kafka/clients/src/main/java/org/apache/kafka/common/requests/InitPidRequest.java:68:
error: constructor AbstractRequest in class AbstractRequest cannot be
applied to given types;
        super(version);
        ^
  required: ApiKeys,short
  found: short
  reason: actual and formal argument lists differ in length

Any help or suggestions or troubleshooting steps would be much appreciated.

Thank you,

L

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