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

errors when trying to run MongoDB Kafka Connector Docker Example

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      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

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            dror.mikdash@mongodb.com Dror Mikdash (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: