[KAFKA-233] Possible Issue In Current Docker Example Created: 05/Jul/21  Updated: 27/Oct/23  Resolved: 29/Jul/21

Status: Closed
Project: Kafka Connector
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Unknown
Reporter: Alek Binion (Inactive) Assignee: Ross Lawley
Resolution: Gone away Votes: 0
Labels: internal-user
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Hi Kafka Team,

My name is Alek Binion and I am a member of the Developer Education team. One of our readers for the Kafka Docker Example experienced an issue going through the example.

Here is the output they provided for the issue:

Starting a Gradle Daemon (subsequent builds will be faster)
Task :compileBuildConfig FAILED
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileBuildConfig'.
    java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x7f22f634) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0x7f22f634

I tried to reproduce the error and wasn't able to do it. Does anyone on the Kafka team have a sense of what this reader may be experiencing?

Thanks, Alek



 Comments   
Comment by Ross Lawley [ 29/Jul/21 ]

Closing as gone away.

Looks to be a gradle and java version error. Using Java 11 should fix the issue.

Ross

Comment by Ross Lawley [ 06/Jul/21 ]

Hi alek.binion,

What version of Java are they using? I have a feeling that Gradle doesn't support their version of Java.

Could they try with Java 11?

Ross

Generated at Thu Feb 08 09:05:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.