[ https://issues.apache.org/jira/browse/KAFKA-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14004810#comment-14004810 ]
Jun Rao commented on KAFKA-1463: -------------------------------- Could you make sure the scala jar at runtime matches that used to build the Kafka jar? > producer fails with scala.tuple error > ------------------------------------- > > Key: KAFKA-1463 > URL: https://issues.apache.org/jira/browse/KAFKA-1463 > Project: Kafka > Issue Type: Bug > Components: producer > Affects Versions: 0.8.0 > Environment: java, springsource > Reporter: Joe > Assignee: Jun Rao > > Running on a windows machine trying to debug first kafka program. The program > fails on the following line: > producer = new kafka.javaapi.producer.Producer<String, String>( > new ProducerConfig(props)); > ERROR: > Exception in thread "main" java.lang.VerifyError: class scala.Tuple2$mcLL$sp > overrides final method _1.()Ljava/lang/Object; > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:791) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)... > unable to find solution online. -- This message was sent by Atlassian JIRA (v6.2#6252)