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

Kafka Connect: Kafka Connect: could not get type for name org.osgi.framework.BundleListener on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 2.2.0
    • None
    • connect
    • Windows 10

    Description

      Hi guys,

      according the documentation https://kafka.apache.org/quickstart#quickstart_kafkaconnect

      I've tried the command

      `c:\dev\Tools\servers\kafka_2.12-2.2.0>bin\windows\connect-standalone.bat config\connect-standalone.properties config\connect-file-source.properties config\connect-file-sink.properties`

      and got this error:

      c:\dev\Tools\servers\kafka_2.12-2.2.0>bin\windows\connect-standalone.bat config\connect-standalone.properties config\connect-file-source.properties config\connect-file-sink.properties
      [2019-05-17 10:21:25,049] WARN could not get type for name org.osgi.framework.BundleListener from any class loader (org.reflections.Reflections)
      org.reflections.ReflectionsException: could not get type for name org.osgi.framework.BundleListener
      at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:390)
      at org.reflections.Reflections.expandSuperTypes(Reflections.java:381)
      at org.reflections.Reflections.<init>(Reflections.java:126)
      at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader$InternalReflections.<init>(DelegatingClassLoader.java:400)
      at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanPluginPath(DelegatingClassLoader.java:299)
      at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.scanUrlsAndAddPlugins(DelegatingClassLoader.java:237)
      at org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader.initPluginLoader(DelegatingClassLoader.java:185)

       

      Environment:  Windows 10, Kafka 2.12-2.2.0 [current]

       

      Many thanks for your help.

      Regards

      Loïc

      Attachments

        Activity

          People

            Unassigned Unassigned
            loicgeo Loïc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: