Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8795

camel-kafka - Support for Scala 2.11

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.16.0
    • camel-kafka
    • None
    • Unknown

    Description

      Camel-kafka uses a kafka built with scala 2.10, so it becomes incompatible when used in a scala 2.11 project in runtime:

      A needed class was not found. This could be due to an error in your runpath. Missing class: scala/collection/GenTraversableOnce$class
      java.lang.NoClassDefFoundError: scala/collection/GenTraversableOnce$class
      

      It seems to be solved excluding the kafka 2.10 dependency and adding the 2.11 version but I am afraid it could bring up new problems.
      Thanks, Álvaro

      Attachments

        Activity

          People

            njiang Willem Jiang
            algd Álvaro García Delgado
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: