Skip to content

Instantly share code, notes, and snippets.

@weilliu
Created August 28, 2015 00:03
Show Gist options
  • Save weilliu/9606b4832c063d482e47 to your computer and use it in GitHub Desktop.
Save weilliu/9606b4832c063d482e47 to your computer and use it in GitHub Desktop.
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project kafka-test: Compilation failure: Compilation failure:
[ERROR] /root/kafka/kafka-test/src/main/java/com/kafka/SimpleEncoder.java:[8,18] error: package kafka.utils does not exist
[ERROR] /root/kafka/kafka-test/src/main/java/com/kafka/SimpleEncoder.java:[10,7] error: cannot access Encoder
[ERROR] class file for kafka.serializer.Encoder not found
[ERROR] /root/kafka/kafka-test/src/main/java/com/kafka/SimpleEncoder.java:[11,31] error: cannot find symbol
[ERROR] class SimpleEncoder
[ERROR] /root/kafka/kafka-test/src/main/java/com/kafka/Example.java:[14,24] error: cannot find symbol
[ERROR] class Builder
[ERROR] /root/kafka/kafka-test/src/main/java/com/kafka/Example.java:[20,67] error: no suitable method found for create(DefaultCouchbaseKafkaEnvironment)
[ERROR] method CouchbaseKafkaConnector.create() is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] method CouchbaseKafkaConnector.create(String,String,String,String,String) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] method CouchbaseKafkaConnector.create(CouchbaseKafkaEnvironment,String,String,String,String,String) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] /root/kafka/kafka-test/src/main/java/com/kafka/SimpleEncoder.java:[15,4] error: method does not override or implement a method from a supertype
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment