As the Scala lib has some backward compatible issue, so we cannot apply the scala version we use in camel to the Camel kafka. I think it’s up to the user to choice the right version of Scala there.
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On April 17, 2015 at 4:41:37 AM, Henryk Konsek ([email protected]) wrote: > If we are talking about camel-scala, then I believe that scala dependency > should be provided. We integrate Camel with Scala, but it is up to end-user > to provide the version of Scala s(he) wants to use in the project. > > Laters! > > czw., 16 kwi 2015 o 19:10 użytkownik Claus Ibsen > napisał: > > > Hi > > > > Yeah I am not sure why the scala dependency was set to scope=provided. > > Maybe git blame can tell. > > > > But sure you are welcome to log a ticket and provide a patch / PR > > http://camel.apache.org/support > > > > On Wed, Apr 15, 2015 at 5:50 PM, ccampo wrote: > > > The Camel Kafka component crashes with a NoClassDefFoundError exception. > > > > > > If you define a Camel route which uses the Camel Kafka component, it will > > > crash when running with a NoClassDefFoundError. I've tracked this down to > > > the project that uses camel-kafka 2.15.1 also requires an explicit > > > dependency on scala-library 2.10.2. This dependency is not mentioned > > > anywhere in the documentation. Here's the error that occurs when the > > Scala > > > dependency is missing: > > > > > > > > > > > > Here's the route I'm using: > > > > > > > > > > > > My project is using Spring Boot 1.2.3 and Camel 2.15.1. > > > > > > Would you like me to open a JIRA ticket for this to be resolved? > > > > > > > > > > > > -- > > > View this message in context: > > http://camel.465427.n5.nabble.com/The-Camel-Kafka-component-crashes-with-a-NoClassDefFoundError-exception-tp5765829.html > > > > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > > > > > -- > > Claus Ibsen > > ----------------- > > Red Hat, Inc. > > Email: [email protected] > > Twitter: davsclaus > > Blog: http://davsclaus.com > > Author of Camel in Action: http://www.manning.com/ibsen > > hawtio: http://hawt.io/ > > fabric8 : http://fabric8.io/ > > >
