Details
-
Task
-
Resolution: Fixed
-
Unknown
-
None
-
None
-
None
-
(copied to CRM)
Description
This issue is similar to KAFKA-233 , however installing JDK 11 didnt help
when following the instructions in the MongoDB Kafka Connector Docker Example on MacOS, as follows : ./run.sh
im getting these error messages :
Building the MongoDB Kafka Connector
|
> 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 @0xe78eaa9) 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 @0xe78eaa9 |
* Try:
|
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
|
* Get more help at https://help.gradle.org |
BUILD FAILED in 809ms
|
3 actionable tasks: 3 executed |
I have JDK 11 on the mac, and gradle installed on the machine
Would appreciate any advice/assistance
thanks, Dror