The problem of compile the kaka-connect-jdbc using Maven

104 views
Skip to first unread message

Ku4n Cheang

unread,
Mar 28, 2016, 11:58:01 PM3/28/16
to Confluent Platform
When I try to compile the project. It gave me errors:
It seems that there is no package named org.apache.kafka.common
How to solve this problem?

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project kafka-connect-jdbc: Compilation failure: Compilation failure:

[ERROR] /Home/kafka-connect-jdbc/src/main/java/io/confluent/connect/jdbc/JdbcSourceTaskConfig.java:[19,37] error: package org.apache.kafka.common.config does not exist

Ewen Cheslack-Postava

unread,
Mar 29, 2016, 1:03:41 AM3/29/16
to Confluent Platform
This looks like a dependency issue, although usually I would expect for it to fail resolving the dependency jar, not fail to find the package. Perhaps this is coming from an IDE that is still trying to compile even though a dependency is missing?

Are you trying to build a version from master of kafka-connect-jdbc? Currently that requires a 0.10.0.0-SNAPSHOT version of Kafka. You can build that checking out the 0.10.0 branch of Kafka and running ./gradlew installAll (see the Kafka README https://github.com/apache/kafka/blob/trunk/README.md for full installation instructions).

-Ewen

--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platf...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/131ba26f-5019-4151-9f65-b6475d18c3ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks,
Ewen

Ku4n Cheang

unread,
Mar 29, 2016, 10:45:29 PM3/29/16
to Confluent Platform
Thanks for the reply. 
Reply all
Reply to author
Forward
0 new messages