Git Product home page Git Product logo

Comments (8)

andrewstevenson avatar andrewstevenson commented on September 4, 2024

@slim-azaiz The message is clear, you haven't added the jar to the classpath

from kafka-connect-twitter.

slim-azaiz avatar slim-azaiz commented on September 4, 2024

@andrewstevenson I added it withe command written in the tutorial :
export CLASSPATH=pwd/target/kafka-connect-twitter-0.1-jar-with-dependencies.jar
But the same error

from kafka-connect-twitter.

slim-azaiz avatar slim-azaiz commented on September 4, 2024

@andrewstevenson
I think the jar was not added successfully because i have the same error when i do the export and when i do not the export.
Could you send me the right command to export the jar please

from kafka-connect-twitter.

andrewstevenson avatar andrewstevenson commented on September 4, 2024

export CLASSPATH=$(PWD)/target/kafka-connect-twitter-0.1-jar-with-dependencies.jar

from kafka-connect-twitter.

slim-azaiz avatar slim-azaiz commented on September 4, 2024

i have the same problem
How can i add the jar manually ?

from kafka-connect-twitter.

andrewstevenson avatar andrewstevenson commented on September 4, 2024

It's in the docs. https://docs.confluent.io/current/connect/managing.html#using-community-connectors

from kafka-connect-twitter.

slim-azaiz avatar slim-azaiz commented on September 4, 2024

Thanks @andrewstevenson it works when i added the jar manually

from kafka-connect-twitter.

ThadeuFerreira avatar ThadeuFerreira commented on September 4, 2024

I have a similar problem when running create-topic after adding the CLASPATH

SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/ubuntu/kafka-connect-twitter/target/kafka-connect-twitter-0.1-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/ubuntu/kafka/libs/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. [main] INFO kafka.utils.Log4jControllerRegistration$ - Registered kafka:type=kafka.Log4jController MBean Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)[Ljava/lang/Object; at kafka.cluster.EndPoint$.<init>(EndPoint.scala:32) at kafka.cluster.EndPoint$.<clinit>(EndPoint.scala) at kafka.server.Defaults$.<init>(KafkaConfig.scala:69) at kafka.server.Defaults$.<clinit>(KafkaConfig.scala) at kafka.log.Defaults$.<init>(LogConfig.scala:36) at kafka.log.Defaults$.<clinit>(LogConfig.scala) at kafka.log.LogConfig$.<init>(LogConfig.scala:219) at kafka.log.LogConfig$.<clinit>(LogConfig.scala) at kafka.admin.TopicCommand$TopicCommandOptions.<init>(TopicCommand.scala:510) at kafka.admin.TopicCommand$.main(TopicCommand.scala:49) at kafka.admin.TopicCommand.main(TopicCommand.scala)

And then I can't run the connector in standalone mode if a gigantic log.

from kafka-connect-twitter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.