Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
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