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

camel-kafka - Support for Scala 2.11

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.16.0
    • Component/s: camel-kafka
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: