confluentinc / cp-all-in-one

docker-compose.yml files for cp-all-in-one , cp-all-in-one-community, cp-all-in-one-cloud, Apache Kafka Confluent Platform
958 stars 684 forks source link

java.lang.NoSuchFieldError: DEFAULT_SOCKET_CONNECTION_SETUP_TIMEOUT_MS #76

Open izzie88 opened 3 years ago

izzie88 commented 3 years ago

Kafka connect does not start up. it dies when it throws the error : java.lang.NoSuchFieldError: DEFAULT_SOCKET_CONNECTION_SETUP_TIMEOUT_MS

Troubleshooting Identify any existing issues that seem related: https://github.com/confluentinc/cp-all-in-one/issues?q=is%3Aissue

If applicable, please include the output of: connect1 | [2021-08-08 00:23:22,041] ERROR Stopping due to error(org.apache.kafka.connect.cli.ConnectDistributed) connect1 | java.lang.NoSuchFieldError: DEFAULT_SOCKET_CONNECTION_SETUP_TIMEOUT_MS connect1 | at org.apache.kafka.connect.runtime.distributed.DistributedConfig.(DistributedConfig.java:245) connect1 | at org.apache.kafka.connect.cli.ConnectDistributed.startConnect(ConnectDistributed.java:95) connect1 | at org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:80)

Environment

OneCricketeer commented 3 years ago

Without seeing your actual run command (the variables you've given to the connect image), this issue seems to be related to Kafka itself, not the Docker image (thus would be instead need to be posted to Kafka JIRA)

gmeena commented 2 years ago

Did you find any solution for this issue?

galenliu6 commented 1 year ago

我现在也遇到了同样的问题,请问你是如何解决的。