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